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

SOFIAPUBFUN _su_task_r su_root_task ( su_root_t const *  self  ) 

Get task reference.

Retrieve the task reference related with the root object.

Parameters:
self a pointer to a root object
Returns:
A reference to the task object.

Definition at line 785 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_alloc_secondary().

{
  if (self)
    return self->sur_task;
  else
    return su_task_null;
}


Generated by  Doxygen 1.6.0   Back to index