summaryrefslogtreecommitdiffstats
path: root/polyp/module-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-cli.c')
-rw-r--r--polyp/module-cli.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/polyp/module-cli.c b/polyp/module-cli.c
index 9a08a00d..35b69cb6 100644
--- a/polyp/module-cli.c
+++ b/polyp/module-cli.c
@@ -33,6 +33,10 @@
#include "sioman.h"
#include "log.h"
+PA_MODULE_AUTHOR("Lennart Poettering")
+PA_MODULE_DESCRIPTION("Command line interface")
+PA_MODULE_VERSION(PACKAGE_VERSION)
+
static void eof_cb(struct pa_cli*c, void *userdata) {
struct pa_module *m = userdata;
assert(c && m);
@@ -40,7 +44,7 @@ static void eof_cb(struct pa_cli*c, void *userdata) {
pa_module_unload_request(m->core, m);
}
-int pa_module_init(struct pa_core *c, struct pa_module*m) {
+int pa__init(struct pa_core *c, struct pa_module*m) {
struct pa_iochannel *io;
assert(c && m);
@@ -66,7 +70,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) {
return 0;
}
-void pa_module_done(struct pa_core *c, struct pa_module*m) {
+void pa__done(struct pa_core *c, struct pa_module*m) {
assert(c && m);
pa_cli_free(m->userdata);