sap.c File Reference

Include dependency graph for sap.c:


Data Structures

struct  sap_session_t
struct  sap_address_t
struct  sap_handler_t

Defines

#define IPPORT_SAP   9875
#define SAP_MAX_BUFFER   65534
#define MIN_INTERVAL   2
#define MAX_INTERVAL   300

Functions

static void * RunThread (void *self)
 main SAP handler thread
sap_handler_tSAP_Create (vlc_object_t *p_announce)
 Create the SAP handler.
void SAP_Destroy (sap_handler_t *p_sap)
static sap_address_tAddressCreate (vlc_object_t *obj, const char *group)
static void AddressDestroy (sap_address_t *addr)
int SAP_Add (sap_handler_t *p_sap, session_descriptor_t *p_session)
 Add a SAP announce.
void SAP_Del (sap_handler_t *p_sap, const session_descriptor_t *p_session)
 Remove a SAP Announce.

Define Documentation

#define IPPORT_SAP   9875

#define MAX_INTERVAL   300

#define MIN_INTERVAL   2

#define SAP_MAX_BUFFER   65534


Function Documentation

static sap_address_t* AddressCreate ( vlc_object_t obj,
const char *  group 
) [static]

static void AddressDestroy ( sap_address_t addr  )  [static]

static void * RunThread ( void *  self  )  [static]

main SAP handler thread

Parameters:
p_this the SAP Handler object
Returns:
nothing

int SAP_Add ( sap_handler_t p_sap,
session_descriptor_t p_session 
)

Add a SAP announce.

References i.

Referenced by sout_AnnounceRegisterSDP().

sap_handler_t* SAP_Create ( vlc_object_t p_announce  )  [read]

Create the SAP handler.

Parameters:
p_announce a VLC object
Returns:
the newly created SAP handler or NULL on error

Referenced by sout_AnnounceRegisterSDP().

void SAP_Del ( sap_handler_t p_sap,
const session_descriptor_t p_session 
)

Remove a SAP Announce.

Referenced by sout_AnnounceUnRegister().

void SAP_Destroy ( sap_handler_t p_sap  ) 


Generated on Tue May 25 08:05:37 2010 for VLC by  doxygen 1.5.6