add new api function pa_cli_get_module()

This commit is contained in:
Lennart Poettering 2008-08-03 16:42:16 +02:00
parent 5042284d45
commit 0a2fced2ee
2 changed files with 9 additions and 1 deletions

View file

@ -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;
}