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

SOFIAPUBFUN void su_task_copy ( su_task_r  dst,
su_task_r const   src 

Duplicates a task handle.

dstdestination task reference
srcsource task reference

Definition at line 198 of file su_root.c.

References su_task_copy().

Referenced by nua_create(), su_task_copy(), and su_timer_create().

  su_port_t *port;

  assert(src); assert(dst);

  SU_TASK_ZAP(dst, su_task_copy);

  port = src->sut_port;
  if (port) {
    su_port_incref(port, "su_task_copy");

  dst[0] = src[0];

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index