mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
18 lines
417 B
C
18 lines
417 B
C
|
|
#ifndef foonamereghfoo
|
||
|
|
#define foonamereghfoo
|
||
|
|
|
||
|
|
#include "core.h"
|
||
|
|
|
||
|
|
enum namereg_type {
|
||
|
|
NAMEREG_SINK,
|
||
|
|
NAMEREG_SOURCE
|
||
|
|
};
|
||
|
|
|
||
|
|
void namereg_free(struct core *c);
|
||
|
|
|
||
|
|
const char *namereg_register(struct core *c, const char *name, enum namereg_type type, void *data, int fail);
|
||
|
|
void namereg_unregister(struct core *c, const char *name);
|
||
|
|
void* namereg_get(struct core *c, const char *name, enum namereg_type type);
|
||
|
|
|
||
|
|
#endif
|