rapi_fmt_flowspec()--Format a RAPI Flowspec


  Syntax
 #include <rapi.h>
 void rapi_fmt_flowspec(
                    rapi_flowspec_t  *pFlowspec,  
                    char             *pBuffer,
                    int              size )


  Service program name: QSYS/QTOQRAPI

  Default public authority: *EXCLUDE

  Threadsafe: Yes

The rapi_fmt_flowspec() API formats a RAPI Flowspec into a string suitable for printing by converting the RAPI flowspec information that has been passed to the API into a character string in the buffer that was passed to the API. The flowspec defines the QoS that is to be provided to the data flow. The output string is truncated if the length of the string exceeds the buffer size.


Parameters

pFlowspec
(Input) Required
A pointer to the flowspec to be formatted.

pBuffer
(Input/Output) Required
A pointer to the buffer to be used.

size
(Input) Required
The length of the supplied buffer.

Authorities

None.


Return Value

None.


Error Conditions

None.


Usage Notes

This API can be used to format the contents of the Flowspec information that has been passed to the API into a string that can be displayed at the local output device.


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 ]