rapi_version()--Retrieve the current RAPI version


  Syntax
 #include <rapi.h>
 int rapi_version(void)

  Service program name: QSYS/QTOQRAPI  

  Default public authority: *EXCLUDE

  Threadsafe: Yes

The rapi_version() API returns the RAPI version currently being used by the RSVP agent.


Parameters

None.


Authorities

None.


Return Value

An integer representing the version number of the RAPI interface. The value defines a major and minor number that is encoded as "100*major + minor".


Error Conditions

None.


Usage Note

None.


Related Information

For a description of the RSVP protocol, see RFC 2205 on the RFC PagesLink outside information center.

Complete documentation of the RAPI APIs can be found at The Open GroupLink outside information center.



API introduced: V5R1

[ Back to top | UNIX-Type APIs | APIs by category ]