rapi_release(3) — Subroutines
NAME
rapi_release − Remove a Resource ReSerVation Protocol (RSVP) API session
SYNOPSIS
#include <rapi.h>
int rapi_release(
rapi_sid_t Sid );
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
PARAMETERS
SidSpecifies the session identifier that was returned by a successful call to the rapi_session() routine.
DESCRIPTION
The rapi_release() routine removes any reservations and the state corresponding to a given session handle. If an application terminates without terminating its RSVP API sessions, the rapi_release() routine is called implicitly.
RETURN VALUES
Upon successful completion, the rapi_release() routine returns a value of 0 (zero). If the session handle is invalid, the routine returns an RAPI error code.
SEE ALSO
Functions: rapi_dispatch(3), rapi_event_rtn_t(3), rapi_getfd(3), rapi_reserve(3), rapi_sender(3), rapi_session(3), rapi_strerror(3), rapi_version(3).
Network: RSVP(7).
Network Programmer’s Guide