rapi_fmt_tspec()--Format a RAPI Tspec


  Syntax
 #include <rapi.h>
void rapi_fmt_tspec( rapi_tspec_t *pTspec, char *pBuffer, int size )

  Service program name: QSYS/QTOQRAPI

  Default public authority: *EXCLUDE

  Threadsafe: Yes

The rapi_fmt_tspec() formats a RAPI Tspec into a string suitable for printing by converting the RAPI Tspec information that has been passed to the API into a string in the buffer that has been passed to the API. The Tspec defines the traffic parameter set that defines a flow. The output string is truncated if the length of the string exceeds the buffer size.


Parameters

pTspec
(Input) Required
A pointer to the Tspec 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 Tspec 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 ]