apd.h

Go to the documentation of this file.
00001 
00033 #ifndef _APD_H_
00034 #define _APD_H_
00035 
00036 #include "flute_defines.h"
00037 #include "../alclib/defines.h"
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00043 #ifdef USE_FILE_REPAIR
00044 
00050 typedef struct serviceURI {
00051 
00052   char URI[MAX_HTTP_URL_LENGTH];        
00053   struct serviceURI *prev;                      
00054   struct serviceURI *next;                      
00056 } serviceURI_t;
00057 
00063 typedef struct postFileRepair {
00064 
00065   unsigned int offsetTime;                      
00066   unsigned int randomTimePeriod;        
00067   serviceURI_t *serviceURI_List;        
00069 } postFileRepair_t;
00070 
00076 typedef struct bmFileRepair {
00077 
00078   char sessionDescriptionURI[MAX_HTTP_URL_LENGTH];      
00080 } bmFileRepair_t;
00081 
00087 typedef struct apd {
00088 
00089   postFileRepair_t *postFileRepair;
00090   bmFileRepair_t *bmFileRepair;
00091 
00092 } apd_t;
00093 
00103 apd_t* decode_apd_config(char *apd_config);
00104 
00112 void FreeAPD(apd_t *apd);
00113 
00114 #endif
00115 
00116 #ifdef __cplusplus
00117 }; //extern "C"
00118 #endif
00119 
00120 #endif
00121 

Generated on Fri Mar 9 19:59:52 2007 for MAD-FCL by  doxygen 1.5.0