libgpac
Documentation of the core library of GPAC
module_wrap.h File Reference
#include <gpac/module.h>
#include <gpac/list.h>
#include <gpac/thread.h>
+ Include dependency graph for module_wrap.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  ModuleInstance
 
struct  GF_ModuleManager
 

Macros

#define MAX_MODULE_DIRS   1024
 

Typedefs

typedef const u32 *(* QueryInterfaces) ()
 
typedef void *(* LoadInterface) (u32 InterfaceType)
 
typedef void(* ShutdownInterface) (void *interface_obj)
 
typedef void *(* LoadFilterRegister) (void *fsess)
 

Functions

Bool gf_module_is_loaded (GF_ModuleManager *pm, char *filename)
 
void gf_modules_free_module (ModuleInstance *inst)
 
Bool gf_modules_load_library (ModuleInstance *inst)
 
void gf_modules_unload_library (ModuleInstance *inst)
 
u32 gf_modules_refresh (GF_ModuleManager *pm)
 

Data Structure Documentation

◆ ModuleInstance

struct ModuleInstance
+ Collaboration diagram for ModuleInstance:
Data Fields
struct __tag_mod_man * plugman
char * name
GF_List * interfaces
GF_InterfaceRegister * ifce_reg
void * lib_handle
QueryInterfaces query_func
LoadInterface load_func
ShutdownInterface destroy_func
LoadFilterRegister filterreg_func
char * dir

◆ __tag_mod_man

struct __tag_mod_man
Data Fields
char * dirs[MAX_MODULE_DIRS]
u32 num_dirs
GF_List * plug_list
GF_Config * cfg
Bool no_unload
Bool needs_load
void * ssl_inst
GF_List * plugin_registry
GF_Mutex * mutex

Macro Definition Documentation

◆ MAX_MODULE_DIRS

#define MAX_MODULE_DIRS   1024

Typedef Documentation

◆ QueryInterfaces

typedef const u32*(* QueryInterfaces) ()

◆ LoadInterface

typedef void*(* LoadInterface) (u32 InterfaceType)

◆ ShutdownInterface

typedef void(* ShutdownInterface) (void *interface_obj)

◆ LoadFilterRegister

typedef void*(* LoadFilterRegister) (void *fsess)

Function Documentation

◆ gf_module_is_loaded()

Bool gf_module_is_loaded ( GF_ModuleManager *  pm,
char *  filename 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_modules_free_module()

void gf_modules_free_module ( ModuleInstance inst)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_modules_load_library()

Bool gf_modules_load_library ( ModuleInstance inst)
+ Here is the caller graph for this function:

◆ gf_modules_unload_library()

void gf_modules_unload_library ( ModuleInstance inst)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_modules_refresh()

u32 gf_modules_refresh ( GF_ModuleManager *  pm)