rapi_version(3) Library Functions Manual rapi_version(3)NAME
rapi_version - Obtain the current Resource ReSerVation Protocol (RSVP) API version
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
int rapi_version();
DESCRIPTION
The rapi_version() routine obtains the version number of the Resource ReSerVation Protocol API (RAPI) interface. An application can call
this routine if it needs to know the specific version of the RAPI interface in order to adapt to different versions.
RETURN VALUES
The rapi_version() routine returns a single integer that denotes the version major number and minor number and is encoded as 100*major +
minor.
RELATED INFORMATION
Functions: rapi_dispatch(3), rapi_event_rtn_t(3), rapi_getfd(3), rapi_release(3), rapi_reserve(3), rapi_sender(3), rapi_session(3),
rapi_strerror(3).
Network: RSVP(7). delim off
rapi_version(3)
Check Out this Related Man Page
rapi_getfd(3) Library Functions Manual rapi_getfd(3)NAME
rapi_getfd - Get the file descriptor for the Resource ReSerVation Protocol (RSVP) daemon's socket
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
int rapi_getfd( rapi_sid_t Sid);
PARAMETERS
Specifies the session handle that was returned by a successful call to the rapi_session routine.
DESCRIPTION
The rapi_getfd() routine obtains the file descriptor associated with the UNIX socket connected to the RSVP daemon, rsvpd. An application
typically calls this routine after a call to the rapi_session() routine has completed successfully and before a call to the rapi_release
routine. When a socket read event is signaled on this file descriptor, the application should call the rapi_dispatch() routine.
A call to the rapi_getfd() routine for different RAPI sessions might return the same file descriptor.
RETURN VALUES
Upon successful completion, the rapi_getfd() routine returns the file descriptor. If the session handle is illegal or undefined, the rou-
tine returns a value of -1.
RELATED INFORMATION
Functions: rapi_dispatch(3), rapi_event_rtn_t(3), rapi_release(3), rapi_reserve(3), rapi_sender(3), rapi_session(3), rapi_strerror(3),
rapi_version(3).
Network: RSVP(7). delim off
rapi_getfd(3)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)