rapi_fmt_filtspec()--Format a RAPI Filter spec


  Syntax
 #include <rapi.h>
 void rapi_fmt_filtspec(
                    rapi_filter_t  *pFiltspec,  
                    char           *pBuffer,
                    int            size )


  Service program name: QSYS/QTOQRAPI

  Default public authority: *EXCLUDE

  Threadsafe: Yes

The rapi_fmt_filtspec() API formats a RAPI Filter spec into a string suitable for printing by converting the RAPI filtspec information that has been passed to the API into a string in the buffer that has been passed to the API. The filtspec defines the set of data packets that should receive the QoS defined in the flowspec. The output string is truncated if the length exceeds the buffer size.


Parameters

pFiltspec
(Input) Required
A pointer to the filter spec structure 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 filter spec 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 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