mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
tag modules that may only be loaded once at most especially, and enforce that in the module loader
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
d8e0c1c6bd
commit
e313fe1b3d
42 changed files with 233 additions and 160 deletions
|
|
@ -10,6 +10,7 @@ define(`gen_symbol', `#define $1 'module_name`_LTX_$1')dnl
|
|||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
gen_symbol(pa__init)
|
||||
gen_symbol(pa__done)
|
||||
|
|
@ -17,6 +18,7 @@ gen_symbol(pa__get_author)
|
|||
gen_symbol(pa__get_description)
|
||||
gen_symbol(pa__get_usage)
|
||||
gen_symbol(pa__get_version)
|
||||
gen_symbol(pa__load_once)
|
||||
|
||||
int pa__init(pa_module*m);
|
||||
void pa__done(pa_module*m);
|
||||
|
|
@ -25,5 +27,6 @@ const char* pa__get_author(void);
|
|||
const char* pa__get_description(void);
|
||||
const char* pa__get_usage(void);
|
||||
const char* pa__get_version(void);
|
||||
pa_bool_t pa__load_once(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue