rapi_dispatch(3)rapi_dispatch(3)NAMErapi_dispatch - Dispatch an Resource ReSerVation Protocol (RSVP) API
event
SYNOPSIS
#include <rapi.h>
int rapi_dispatch(
void );
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
DESCRIPTION
An application calls the rapi_dispatch() routine whenever a read event
is signaled on the file descriptor returned by the rapi_getfd() rou‐
tine. You can call the rapi_dispatch() routine at any time, but it has
no effect unless there is a pending event associated with the UNIX
pipe.
NOTES
When an application calls this routine, the application might receive
one or more upcalls from any of the open API sessions known to this
instance of the library.
RETURN VALUES
Upon successful completion, the rapi_dispatch() routine returns a value
of 0 (zero). Upon failure, it returns an RAPI error code.
SEE ALSO
Functions: rapi_event_rtn_t(3), rapi_getfd(3), rapi_release(3),
rapi_reserve(3), rapi_sender(3), rapi_session(3), rapi_strerror(3),
rapi_version(3).
Network: RSVP(7).
Network Programmer's Guide
rapi_dispatch(3)