Rivendell C Library API
Todd
Baker
bakert@rfa.org
Overview
This is a C Library that can be used to access and query the Rivendell database. These functions
allow the programmer to access the Rivendell Web API components directly, and provides
almost complete
functionality in relation to content in an existing Rivendell system. See function
descriptions for further information on using these functions below.
Function Descriptions
RD_AudioInfo This function returns
information about an entry in the audio store.
RD_AddCart This function
adds a cart to a Rivendell Database.
RD_AddCut This function
adds a cut to a Rivendell Database.
RD_AssignSchedCode This function
assigns a Scheduler Code to carts in a Rivendell database.
RD_AudioStore This function
returns information about the audio store.
RD_CopyAudio This function
copys PCM/MPEG data from one Cart/Cut to another Cart/Cut.
RD_CreateTicket This function
will create an Authentification ticket in the Rivendell database
that can be used in leu of username/password pair.
RD_DeleteAudio This function
deletes PCM/MPEG data from the audio store.
RD_EditCart This function
edits the fields within a cart in the Rivendell Database.
RD_EditCut This function
edit the fields within a cut in the Rivendell Database.
RD_Export This function
exports PCM/MPEG data from the audio store.
RD_ExportPeaks This function
exports Peak Data from the audio store.
RD_Import This function
imports PCM/MPEG data into the audio store.
RD_ListCart This function
lists the fields within a cart in the Rivendell Database.
RD_ListCarts This function
lists the carts in the Rivendell Database.
RD_ListCartSchedCodes This function
lists the Scheduler Codes assigned to a cart in the Rivendell Database.
RD_ListCut This function
lists the fields within a cut in the Rivendell Database.
RD_ListCuts This function
lists the cuts that exist in a Cart entry.
RD_ListGroup This function
lists the group field entries for a specific group in the Rivendell database.
RD_ListGroups This function
lists the groups within the Rivendell Database.
RD_ListLog This function
lists the log lines for a particular log file within the Rivendell Database.
RD_ListLogs This function
lists the Log Files within the Rivendell Database.
RD_ListSchedCodes This function
lists the Scheduler Codes that currently exist in the Rivendell Database.
RD_ListServices This function
lists the Servicess that are stored within the Rivendell Database.
RD_ListSystemSettings This function
lists the System Settings that are stored within the Rivendell Database.
RD_RemoveCart This function
removes a cart from the Rivendell database.
RD_RemoveCut This function
removes a cut from the Rivendell database.
RD_TrimAudio This function
returns a time pointer to the first and last instance of a particular dB level in a cut.
RD_UnassignSchedCode This function
unassigns a Scheduler Code from a cart in the Rivendell database.