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)