mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-16 06:59:55 -05:00
add name registrar
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@39 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
010378643e
commit
a74cd2a1bd
17 changed files with 354 additions and 26 deletions
17
src/namereg.h
Normal file
17
src/namereg.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue