GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
dummy_in.c File Reference
#include <gpac/modules/service.h>
#include <gpac/constants.h>
#include <gpac/download.h>
#include <gpac/xml.h>
+ Include dependency graph for dummy_in.c:

Data Structures

struct  DummyChannel
 
struct  DCReader
 

Functions

DummyChannelDC_GetChannel (DCReader *read, LPNETCHANNEL ch)
 
Bool DC_RemoveChannel (DCReader *read, LPNETCHANNEL ch)
 
static u32 DC_RegisterMimeTypes (const GF_InputService *plug)
 
Bool DC_CanHandleURL (GF_InputService *plug, const char *url)
 
void DC_NetIO (void *cbk, GF_NETIO_Parameter *param)
 
void DC_DownloadFile (GF_InputService *plug, char *url)
 
GF_Err DC_ConnectService (GF_InputService *plug, GF_ClientService *serv, const char *url)
 
GF_Err DC_CloseService (GF_InputService *plug)
 
static GF_DescriptorDC_GetServiceDesc (GF_InputService *plug, u32 expect_type, const char *sub_url)
 
GF_Err DC_ServiceCommand (GF_InputService *plug, GF_NetworkCommand *com)
 
GF_Err DC_ConnectChannel (GF_InputService *plug, LPNETCHANNEL channel, const char *url, Bool upstream)
 
GF_Err DC_DisconnectChannel (GF_InputService *plug, LPNETCHANNEL channel)
 
GF_Err DC_ChannelGetSLP (GF_InputService *plug, LPNETCHANNEL channel, char **out_data_ptr, u32 *out_data_size, GF_SLHeader *out_sl_hdr, Bool *sl_compressed, GF_Err *out_reception_status, Bool *is_new_data)
 
GF_Err DC_ChannelReleaseSLP (GF_InputService *plug, LPNETCHANNEL channel)
 
Bool DC_CanHandleURLInService (GF_InputService *plug, const char *url)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *bi)
 

Variables

static const char * DC_MIME_TYPES []
 

Data Structure Documentation

struct DummyChannel
+ Collaboration diagram for DummyChannel:
Data Fields
u32 ESID
LPNETCHANNEL ch
u32 start
u32 end
struct DCReader
+ Collaboration diagram for DCReader:
Data Fields
GF_ClientService * service
char * url
u32 oti
Bool is_views_url
GF_List * channels
GF_DownloadSession * dnload
Bool is_service_connected

Function Documentation

DummyChannel* DC_GetChannel ( DCReader read,
LPNETCHANNEL  ch 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool DC_RemoveChannel ( DCReader read,
LPNETCHANNEL  ch 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 DC_RegisterMimeTypes ( const GF_InputService plug)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool DC_CanHandleURL ( GF_InputService plug,
const char *  url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DC_NetIO ( void *  cbk,
GF_NETIO_Parameter param 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DC_DownloadFile ( GF_InputService plug,
char *  url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_ConnectService ( GF_InputService plug,
GF_ClientService *  serv,
const char *  url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_CloseService ( GF_InputService plug)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Descriptor* DC_GetServiceDesc ( GF_InputService plug,
u32  expect_type,
const char *  sub_url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_ServiceCommand ( GF_InputService plug,
GF_NetworkCommand com 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_ConnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel,
const char *  url,
Bool  upstream 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_DisconnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_ChannelGetSLP ( GF_InputService plug,
LPNETCHANNEL  channel,
char **  out_data_ptr,
u32 out_data_size,
GF_SLHeader out_sl_hdr,
Bool sl_compressed,
GF_Err out_reception_status,
Bool is_new_data 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DC_ChannelReleaseSLP ( GF_InputService plug,
LPNETCHANNEL  channel 
)

+ Here is the caller graph for this function:

Bool DC_CanHandleURLInService ( GF_InputService plug,
const char *  url 
)

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface bi)

+ Here is the call graph for this function:

Variable Documentation

const char* DC_MIME_TYPES[]
static
Initial value:
= {
"application/x-bt", "bt bt.gz btz", "MPEG-4 Text (BT)",
"application/x-xmt", "xmt xmt.gz xmtz", "MPEG-4 Text (XMT)",
"model/vrml", "wrl wrl.gz", "VRML World",
"x-model/x-vrml", "wrl wrl.gz", "VRML World",
"model/x3d+vrml", "x3dv x3dv.gz x3dvz", "X3D/VRML World",
"model/x3d+xml", "x3d x3d.gz x3dz", "X3D/XML World",
"application/x-shockwave-flash", "swf", "Macromedia Flash Movie",
"image/svg+xml", "svg svg.gz svgz", "SVG Document",
"image/x-svgm", "svgm", "SVGM Document",
"application/x-LASeR+xml", "xsr", "LASeR Document",
"application/widget", "wgt", "W3C Widget Package",
"application/x-mpegu-widget", "mgt", "MPEG-U Widget Package",
0
}