summaryrefslogtreecommitdiffstats
path: root/src/module.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-03 23:35:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-03 23:35:12 +0000
commite61c2dddb7bc392ab4073d5691870615ada82922 (patch)
treeb7e98c4232ca855c7bac6ba88e47b7ff45a9cbe1 /src/module.h
parenta8a5ab1c79c0b6567ecc98343ff1ae944f2285b9 (diff)
add pa_ prefix to all identifiers.
fix downsampling/resampling add support for U8 samples git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@49 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/module.h')
-rw-r--r--src/module.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/module.h b/src/module.h
index cdb61347..1cc7d775 100644
--- a/src/module.h
+++ b/src/module.h
@@ -6,28 +6,28 @@
#include "core.h"
-struct module {
- struct core *core;
+struct pa_module {
+ struct pa_core *core;
char *name, *argument;
uint32_t index;
lt_dlhandle dl;
- int (*init)(struct core *c, struct module*m);
- void (*done)(struct core *c, struct module*m);
+ int (*init)(struct pa_core *c, struct pa_module*m);
+ void (*done)(struct pa_core *c, struct pa_module*m);
void *userdata;
};
-struct module* module_load(struct core *c, const char *name, const char*argument);
-void module_unload(struct core *c, struct module *m);
-void module_unload_by_index(struct core *c, uint32_t index);
+struct pa_module* pa_module_load(struct pa_core *c, const char *name, const char*argument);
+void pa_module_unload(struct pa_core *c, struct pa_module *m);
+void pa_module_unload_by_index(struct pa_core *c, uint32_t index);
-void module_unload_all(struct core *c);
+void pa_module_unload_all(struct pa_core *c);
-char *module_list_to_string(struct core *c);
+char *pa_module_list_to_string(struct pa_core *c);
-void module_unload_request(struct core *c, struct module *m);
+void pa_module_unload_request(struct pa_core *c, struct pa_module *m);
#endif