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

SOFIAPUBFUN int su_root_unregister ( su_root_t self,
su_wait_t wait,
su_wakeup_f  callback,
su_wakeup_arg_t arg 

Unregister a su_wait_t object.

The function su_root_unregister() unregisters a su_wait_t object. The wait object, a callback function and a argument are removed from the root object.

selfpointer to root object
waitpointer to wait object
callbackcallback function pointer (may be NULL)
argargument given to callback function when it is invoked (may be NULL)
Nonzero index of the wait object, or -1 upon an error.

Definition at line 671 of file su_root.c.

References su_root_unregister().

Referenced by forwarder_connected(), forwarder_empty(), forwarder_recv(), and su_root_unregister().

  if (!self || !wait)
    return (void)(errno = EFAULT), -1;

  return su_port_unregister(self->sur_port, self, wait, callback, arg);

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