diff options
Diffstat (limited to 'polyp/autoload.h')
-rw-r--r-- | polyp/autoload.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/polyp/autoload.h b/polyp/autoload.h new file mode 100644 index 00000000..f1862e77 --- /dev/null +++ b/polyp/autoload.h @@ -0,0 +1,17 @@ +#ifndef fooautoloadhfoo +#define fooautoloadhfoo + +#include "namereg.h" + +struct pa_autoload_entry { + char *name; + enum pa_namereg_type type; + char *module, *argument; +}; + +void pa_autoload_add(struct pa_core *c, const char*name, enum pa_namereg_type type, const char*module, const char *argument); +void pa_autoload_free(struct pa_core *c); +int pa_autoload_remove(struct pa_core *c, const char*name, enum pa_namereg_type type); +void pa_autoload_request(struct pa_core *c, const char *name, enum pa_namereg_type type); + +#endif |