]>
code.delx.au - pulseaudio/blob - src/module.h
11 char *name
, *argument
;
16 int (*init
)(struct pa_core
*c
, struct pa_module
*m
);
17 void (*done
)(struct pa_core
*c
, struct pa_module
*m
);
22 struct pa_module
* pa_module_load(struct pa_core
*c
, const char *name
, const char*argument
);
23 void pa_module_unload(struct pa_core
*c
, struct pa_module
*m
);
24 void pa_module_unload_by_index(struct pa_core
*c
, uint32_t index
);
26 void pa_module_unload_all(struct pa_core
*c
);
28 void pa_module_unload_request(struct pa_core
*c
, struct pa_module
*m
);
30 /* These to following prototypes are for module entrypoints and not implemented by the core */
31 int pa_module_init(struct pa_core
*c
, struct pa_module
*m
);
32 void pa_module_done(struct pa_core
*c
, struct pa_module
*m
);