2004-06-27 22:42:17 +00:00
|
|
|
#ifndef foonamereghfoo
|
|
|
|
|
#define foonamereghfoo
|
|
|
|
|
|
|
|
|
|
#include "core.h"
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
enum pa_namereg_type {
|
|
|
|
|
PA_NAMEREG_SINK,
|
|
|
|
|
PA_NAMEREG_SOURCE
|
2004-06-27 22:42:17 +00:00
|
|
|
};
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
void pa_namereg_free(struct pa_core *c);
|
2004-06-27 22:42:17 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
const char *pa_namereg_register(struct pa_core *c, const char *name, enum pa_namereg_type type, void *data, int fail);
|
|
|
|
|
void pa_namereg_unregister(struct pa_core *c, const char *name);
|
|
|
|
|
void* pa_namereg_get(struct pa_core *c, const char *name, enum pa_namereg_type type);
|
2004-06-27 22:42:17 +00:00
|
|
|
|
|
|
|
|
#endif
|