Logo Search packages:      
Sourcecode: sofia-sip version File versions

SOFIAPUBFUN _su_task_r su_root_task ( su_root_t const *  self  ) 

Get task reference.

The function su_root_task() is used to retrieve the task reference (PId) related with the root object.

self a pointer to a root object
The function su_root_task() returns a reference to the task object.

Definition at line 786 of file su_root.c.

References su_root_task(), and su_task_null.

Referenced by nea_create(), nea_server_create(), nua_create(), server_timer_init(), sres_resolver_create(), stun_keepalive(), stun_keepalive_timer_cb(), stun_obtain_shared_secret(), stun_send_binding_request(), su_root_task(), and tport_tcreate().

  if (self)
    return self->sur_task;
    return su_task_null;

Generated by  Doxygen 1.6.0   Back to index