StreamLinkforC  7.0.3-308369
Fieldlist management

Data Structures

struct  sl_field
 Structure that represents a field/value pair. More...
 
struct  sl_fieldlist
 Structure that represents an array of fields. More...
 

Functions

sl_fieldlistsl_fieldlist_new (void)
 Create a new and empty set of field/value pairs. More...
 
void sl_fieldlist_add (sl_fieldlist *fieldlist, const char *name, const char *value)
 Add a field/value pair to an existing fieldlist. More...
 
void sl_fieldlist_delete (sl_fieldlist *fieldlist)
 Delete a set of field/value pairs. More...
 

Detailed Description

Function Documentation

void sl_fieldlist_add ( sl_fieldlist fieldlist,
const char *  name,
const char *  value 
)

Add a field/value pair to an existing fieldlist.

Parameters
fieldlist- The fieldlist to add a field/value pair to
name- The name of the field to be added.
value- The value of the field to added.
void sl_fieldlist_delete ( sl_fieldlist fieldlist)

Delete a set of field/value pairs.

Parameters
fieldlist- The fieldlist to be deleted

Following a call to this function, the supplied fieldlist should not be accessed

sl_fieldlist* sl_fieldlist_new ( void  )

Create a new and empty set of field/value pairs.

Returns
A fieldlist
Note
This function is provided for convenience, you can create and manipulate sl_fieldlist objects within your code.

Generated on Tue Oct 16 2018 12:25:43 for StreamLinkforC