Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

The Stream-List Library
[Application-Specific Components]

Library that provides a mechanism for storing stream list nodes. More...


Files

file  alsad_stream_list.c
 This is the implementation of the Stream-List Library.

file  alsad_stream_list.h
 This is the header for the Stream-List Library.


Data Structures

struct  alsad_stream_node
struct  alsad_stream_list
struct  alsad_send_stream_list_args

Typedefs

typedef alsad_stream_node alsad_stream_node_t
typedef alsad_stream_list alsad_stream_list_t
typedef alsad_send_stream_list_args alsad_send_stream_list_args_t

Functions

int alsad_stream_list_init (alsad_stream_list_t *new_list, unsigned int num_streams)
void alsad_stream_list_destroy (alsad_stream_list_t *destroy_list)
int alsad_stream_node_init (alsad_stream_node_t **new_stream_node, alsad_stream_props_t *new_stream, alsad_config_keys_t *keys)
void alsad_stream_node_destroy (alsad_stream_node_t *destroy_stream)
alsad_stream_node_talsad_stream_list_insert (alsad_stream_list_t *list, alsad_stream_node_t *new_stream_node)
alsad_stream_node_talsad_stream_list_remove (alsad_stream_list_t *list, unsigned int ident)
alsad_stream_node_talsad_stream_list_find (alsad_stream_list_t *list, unsigned int ident)
int alsad_stream_list_send (int sock, alsad_stream_list_t *list)
int alsad_stream_list_send_pipes (int sock, alsad_stream_list_t *list, unsigned int ident)
int alsad_stream_node_compare (void *identifier, void *stream_node)
int alsad_stream_send_stream_nodes (void *stream_node, void *args)

Detailed Description

Library that provides a mechanism for storing stream list nodes.


Typedef Documentation

typedef struct alsad_send_stream_list_args alsad_send_stream_list_args_t
 

typedef struct alsad_stream_list alsad_stream_list_t
 

typedef struct alsad_stream_node alsad_stream_node_t
 


Function Documentation

void alsad_stream_list_destroy alsad_stream_list_t destroy_list  ) 
 

alsad_stream_node_t * alsad_stream_list_find alsad_stream_list_t head_of_list,
unsigned int  ident
 

int alsad_stream_list_init alsad_stream_list_t new_list,
unsigned int  num_streams
 

alsad_stream_node_t * alsad_stream_list_insert alsad_stream_list_t head_of_list,
alsad_stream_node_t new_chan_node
 

alsad_stream_node_t * alsad_stream_list_remove alsad_stream_list_t head_of_list,
unsigned int  ident
 

int alsad_stream_list_send int  sock,
alsad_stream_list_t head_of_list
 

int alsad_stream_list_send_pipes int  sock,
alsad_stream_list_t list,
unsigned int  ident
 

int alsad_stream_node_compare void *  identifier,
void *  stream_node
 

void alsad_stream_node_destroy alsad_stream_node_t destroy_chan  ) 
 

TODO This function should look at the sources and sinks linked list and destroy the lists only when they are empty

int alsad_stream_node_init alsad_stream_node_t **  new_stream_node,
alsad_stream_props_t new_chan,
alsad_config_keys_t keys
 

int alsad_stream_send_stream_nodes void *  stream_node,
void *  args
 


Generated on Thu Dec 16 23:07:32 2004 for alsad by doxygen 1.3.6