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
GF_InputService Struct Reference

#include <service.h>

+ Collaboration diagram for GF_InputService:

Data Fields

u32 InterfaceType
 
const char * module_name
 
const char * author_name
 
void * HPLUG
 
Bool(* CanHandleURL )(struct _netinterface *, const char *url)
 
GF_Err(* ConnectService )(struct _netinterface *, GF_ClientService *serv, const char *url)
 
GF_Err(* CloseService )(struct _netinterface *)
 
GF_Descriptor *(* GetServiceDescriptor )(struct _netinterface *, u32 expect_type, const char *sub_url)
 
GF_Err(* ServiceCommand )(struct _netinterface *, GF_NetworkCommand *com)
 
GF_Err(* ConnectChannel )(struct _netinterface *, LPNETCHANNEL channel, const char *url, Bool upstream)
 
GF_Err(* DisconnectChannel )(struct _netinterface *, LPNETCHANNEL channel)
 
GF_Err(* ChannelGetSLP )(struct _netinterface *, 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(* ChannelReleaseSLP )(struct _netinterface *, LPNETCHANNEL channel)
 
Bool(* CanHandleURLInService )(struct _netinterface *, const char *url)
 
void * priv
 
GF_Err(* query_proxy )(struct _netinterface *, GF_NetworkCommand *param)
 
void * proxy_udta
 
Bool proxy_type
 
u32(* RegisterMimeTypes )(const struct _netinterface *)
 

Field Documentation

u32 GF_InputService::InterfaceType
const char* GF_InputService::module_name
const char* GF_InputService::author_name
void* GF_InputService::HPLUG
Bool(* GF_InputService::CanHandleURL)(struct _netinterface *, const char *url)
GF_Err(* GF_InputService::ConnectService)(struct _netinterface *, GF_ClientService *serv, const char *url)
GF_Err(* GF_InputService::CloseService)(struct _netinterface *)
GF_Descriptor*(* GF_InputService::GetServiceDescriptor)(struct _netinterface *, u32 expect_type, const char *sub_url)
GF_Err(* GF_InputService::ServiceCommand)(struct _netinterface *, GF_NetworkCommand *com)
GF_Err(* GF_InputService::ConnectChannel)(struct _netinterface *, LPNETCHANNEL channel, const char *url, Bool upstream)
GF_Err(* GF_InputService::DisconnectChannel)(struct _netinterface *, LPNETCHANNEL channel)
GF_Err(* GF_InputService::ChannelGetSLP)(struct _netinterface *, 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(* GF_InputService::ChannelReleaseSLP)(struct _netinterface *, LPNETCHANNEL channel)
Bool(* GF_InputService::CanHandleURLInService)(struct _netinterface *, const char *url)
void* GF_InputService::priv
GF_Err(* GF_InputService::query_proxy)(struct _netinterface *, GF_NetworkCommand *param)
void* GF_InputService::proxy_udta
Bool GF_InputService::proxy_type
u32(* GF_InputService::RegisterMimeTypes)(const struct _netinterface *)

This is needed for modules supporting mime types, when this method is called, the module has to call gf_term_register_mime_type() for all the mime-types its supports.

Returns
The number of declared mime types
See Also
gf_term_register_mime_type(GF_InputService *, const char *, const char *, const char *)

The documentation for this struct was generated from the following file: