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

SOFIAPUBFUN int su_root_obtain ( su_root_t root )

Obtain the root port from other thread.

rootpointer to root object
Return values:
0if successful
-1upon an error


Definition at line 1027 of file su_root.c.

References su_root_obtain().

Referenced by init_test(), and su_root_obtain().

  if (root == NULL || root->sur_port == NULL)
    return (void)(errno = EFAULT), -1;
  return su_port_obtain(root->sur_port);

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