#include <rapi.h>
rapi_sid_t rapi_session(
rapi_addr_t *Dest,
int Protid,
int flags,
rapi_event_rtn_t Event_rtn,
void *Event_arg,
int *errnop )
The rapi_session() API returns an API session ID that is unique to this request. This ID is used in calling the other RAPI APIs to identify which RSVP session is being requested.
| 1 | RAPI_USE_INTSERV | Currently, the only flag supported. If this flag is set, IntServ formats are used in the RAPI message-handling routines. I f this flag is not set, the simplified format is used. |
None
Successful completion of this function returns a nonzero session handle that can be used in further RAPI calls for this session. If the call fails, it returns zero (RAPI_NULL_SID) and stores a RAPI error code in the integer errnop parameter.
The RSVP server did not respond to the API request. Make sure the RSVP server is running.
The flags parameter was set to an unsupported value.
There was a problem calling a system function. Check the system errno for further information.
A parameter that is not valid was used in the API call.
The maximum number of available RAPI sessions has been exceeded.
For a description of the RSVP protocol, see RFC 2205 on the RFC Pages for The Internet Engineering Task
Force.
Complete documentation of the RAPI APIs can be found at The Open
Group.
| Top | UNIX-Type APIs | APIs by category |