rapi_fmt_filtspec(3) — Subroutines
NAME
rapi_fmt_filtspec − Format an RSVP API (RAPI) filter spec
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
void rapi_fmt_filtspec(
rapi_filter_t ∗filtp,
char ∗buffer,
int length);
PARAMETERS
filtpPoints to an RAPI filter spec.
bufferPoints to a buffer that is to contain the formatted filter spec.
lengthSpecifies the length, in bytes, of the buffer that is to contain the formatted filter spec.
DESCRIPTION
The rapi_fmt_filtspec() routine reads a given RAPI filter spec and formats it into a fixed length buffer whose address is specified by buffer and whose size is specified by length. If the buffer size is too small, the formatted filter spec is truncated.
RELATED INFORMATION
Functions: rapi_event_rtn_t(3), rapi_fmt_adspec(3), rapi_fmt_flowspec(3), rapi_fmt_tspec(3).
Network: RSVP(7).