summaryrefslogtreecommitdiffstats
path: root/polyp/autoload.h
blob: f1862e77da0fa388ceb500397b9c5d3642007438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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