summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-03 16:42:16 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-03 16:42:16 +0200
commit0a2fced2ee54917819a5cbbfd631419c7540965b (patch)
tree91c9d6a1062c973b84e894bf50190377f2e37249 /src/pulsecore/cli.c
parent5042284d45b524f1201232f6c09fda65977b70cc (diff)
add new api function pa_cli_get_module()
Diffstat (limited to 'src/pulsecore/cli.c')
-rw-r--r--src/pulsecore/cli.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulsecore/cli.c b/src/pulsecore/cli.c
index 2057b67a..67bf1e73 100644
--- a/src/pulsecore/cli.c
+++ b/src/pulsecore/cli.c
@@ -151,3 +151,9 @@ void pa_cli_set_eof_callback(pa_cli *c, pa_cli_eof_cb_t cb, void *userdata) {
c->eof_callback = cb;
c->userdata = userdata;
}
+
+pa_module *pa_cli_get_module(pa_cli *c) {
+ pa_assert(c);
+
+ return c->client->module;
+}