rapi_fmt_tspec(3) — Subroutines
NAME
rapi_fmt_tspec − Format an RSVP tspec
SYNOPSIS
#include <rapi.h>
void rapi_fmt_tspec(
rapi_tspec_t ∗tspecp,
char ∗buffer,
int length );
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
PARAMETERS
tspecp
Points to an RSVP tspec.
buffer
Points to a buffer that is to contain the formatted tspec.
length
Specifies 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.
SEE ALSO
Functions: rapi_event_rtn_t(3), rapi_fmt_adspec(3), rapi_fmt_filtspec(3), rapi_fmt_flowspec(3).
Network: RSVP(7).
Network Programmer’s Guide