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

SOFIAPUBFUN int su_root_multishot ( su_root_t self,
int  multishot 

Set multishot mode.

The function su_root_multishot() enables, disables or queries the multishot mode for the root. The multishot mode determines how the events are scheduled by root. If multishot mode is enabled, root serves all the sockets that have received network events. If it is disables, only first socket event is served.

selfpointer to root object
multishotmultishot mode (0 => disables, 1 => enables, -1 => query)
Return values:
0multishot mode is disabled
1multishot mode is enabled
-1an error occurred

Definition at line 836 of file su_root.c.

References su_root_multishot().

Referenced by su_root_multishot().

  if (!self)
    return (void)(errno = EFAULT), -1;
  return su_port_multishot(self->sur_port, multishot);

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