From a9ca9c4a3bd8c3c03fe5d30cd2694cf891f5bbc1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 11 Sep 2004 23:17:38 +0000 Subject: add modinfo support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@191 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/module-native-protocol-fd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'polyp/module-native-protocol-fd.c') diff --git a/polyp/module-native-protocol-fd.c b/polyp/module-native-protocol-fd.c index 632a3d71..c1ea6975 100644 --- a/polyp/module-native-protocol-fd.c +++ b/polyp/module-native-protocol-fd.c @@ -33,6 +33,10 @@ #include "protocol-native.h" #include "log.h" +PA_MODULE_AUTHOR("Lennart Poettering") +PA_MODULE_DESCRIPTION("Native protocol autospawn helper") +PA_MODULE_VERSION(PACKAGE_VERSION) + static const char* const valid_modargs[] = { "fd", "public", @@ -40,7 +44,7 @@ static const char* const valid_modargs[] = { NULL, }; -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; struct pa_modargs *ma; int fd, r = -1; @@ -72,7 +76,7 @@ finish: return r; } -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_protocol_native_free(m->userdata); -- cgit