Go to the documentation of this file.
25 #define VLC_MODULES_H 1
40 #define vlc_module_load(o,c,n,s,...) \
41 vlc_module_load(VLC_OBJECT(o),c,n,s,__VA_ARGS__)
44 #define vlc_module_unload(o,m,d,...) \
45 vlc_module_unload(VLC_OBJECT(o),m,d,__VA_ARGS__)
48 #define module_need(a,b,c,d) module_need(VLC_OBJECT(a),b,c,d)
50 #define module_unneed(a,b) module_unneed(VLC_OBJECT(a),b)
55 #define module_start(o, m) module_start(VLC_OBJECT(o),m)
57 #define module_stop(o, m) module_stop(VLC_OBJECT(o),m)
68 #define module_GetLongName( m ) module_get_name( m, true )
78 #define module_get_main(a) module_get_main()
#define module_stop(o, m)
Definition: vlc_modules.h:56
const char * module_get_capability(const module_t *m)
Gets the capability of a module.
Definition: modules.c:104
void module_config_free(module_config_t *)
Release the configuration.
Definition: modules.c:470
#define VLC_API
Definition: fourcc_gen.c:30
const char * module_get_name(const module_t *m, bool long_name)
Get the human-friendly name of a module.
Definition: modules.c:77
int module_get_score(const module_t *m)
Get the score for a module.
Definition: modules.c:115
int(* vlc_activate_t)(void *func, va_list args)
Definition: vlc_modules.h:32
#define vlc_module_load(o, c, n, s,...)
Definition: vlc_modules.h:39
#define module_get_main(a)
Definition: vlc_modules.h:77
const char * module_get_help(const module_t *m)
Get the help for a module.
Definition: modules.c:93
void(* vlc_deactivate_t)(void *func, va_list args)
Definition: vlc_modules.h:33
Internal module descriptor.
Definition: modules.h:79
bool module_exists(const char *)
Tell if a module exists.
Definition: modules.c:416
module_t * module_find(const char *)
Get a pointer to a module_t given it's name.
Definition: modules.c:387
const char * module_gettext(const module_t *, const char *)
Translate a string using the module's text domain.
Definition: modules.c:127
module_config_t * module_config_get(const module_t *, unsigned *)
The main vlc_object_t structure.
Definition: vlc_objects.h:39
Definition: vlc_configuration.h:60
const char * module_get_object(const module_t *m)
Get the internal name of a module.
Definition: modules.c:63
bool module_provides(const module_t *m, const char *cap)
Checks whether a module implements a capability.
Definition: modules.c:52
#define VLC_USED
Definition: fourcc_gen.c:31
const char name[16]
Definition: httpd.c:1251
#define module_start(o, m)
Definition: vlc_modules.h:54
void module_list_free(module_t **)
Frees the flat list of VLC modules.
Definition: bank.c:763
#define vlc_module_unload(o, m, d,...)
Definition: vlc_modules.h:43
static bool module_is_main(const module_t *p_module)
Definition: vlc_modules.h:79
#define module_unneed(a, b)
Definition: vlc_modules.h:49
module_t ** module_list_get(size_t *n)
Gets the flat list of VLC modules.
Definition: bank.c:774
#define module_need(a, b, c, d)
Definition: vlc_modules.h:47