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 Pages for The Internet Engineering Task Force.Link outside Information Center

Complete documentation of the RAPI APIs can be found at The Open Group.Link outside Information Center



API introduced: V5R1
Top | UNIX-Type APIs | APIs by category