rapi_version(3) — Subroutines
NAME
rapi_version − Obtain the current Resource ReSerVation Protocol (RSVP) API version
SYNOPSIS
#include <rapi.h>
int rapi_version(
void );
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
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.
SEE ALSO
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).
Network Programmer’s Guide