rapi_fmt_adspec(3) — Subroutines
NAME
rapi_fmt_adspec − Format an RSVP API (RAPI) Adspec
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
void rapi_fmt_adspec(
rapi_adspec_t ∗adspecp,
char ∗buffer,
int length);
PARAMETERS
adspecpPoints to an RAPI Adspec.
bufferPoints to a buffer that is to contain the formatted Adspec.
lengthSpecifies the length, in bytes, of the buffer that is to contain the formatted Adspec.
DESCRIPTION
The rapi_fmt_adspec() routine reads a given RAPI Adspec 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 Adspec is truncated.
RELATED INFORMATION
Functions: rapi_event_rtn_t(3), rapi_fmt_filtspec(3), rapi_fmt_flowspec(3), rapi_fmt_tspec(3).
Network: RSVP(7).