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