module: Create pa_module_exists()

This new function checks if a certain module name is available in the
system.
This commit is contained in:
João Paulo Rechi Vita 2013-09-24 19:45:57 -03:00 committed by Tanu Kaskinen
parent dc4be17e07
commit 48d23d4863
3 changed files with 58 additions and 0 deletions

View file

@ -50,6 +50,8 @@ struct pa_module {
pa_proplist *proplist;
};
bool pa_module_exists(const char *name);
pa_module* pa_module_load(pa_core *c, const char *name, const char *argument);
void pa_module_unload(pa_core *c, pa_module *m, bool force);