summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/cli.h')
-rw-r--r--src/pulsecore/cli.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/cli.h b/src/pulsecore/cli.h
index 3f7a6fa4..d8604611 100644
--- a/src/pulsecore/cli.h
+++ b/src/pulsecore/cli.h
@@ -35,6 +35,8 @@ pa_cli* pa_cli_new(pa_core *core, pa_iochannel *io, pa_module *m);
void pa_cli_free(pa_cli *cli);
/* Set a callback function that is called whenever the command line session is terminated */
-void pa_cli_set_eof_callback(pa_cli *cli, void (*cb)(pa_cli*c, void *userdata), void *userdata);
+void pa_cli_set_eof_callback(pa_cli *cli, pa_cli_eof_cb_t cb, void *userdata);
+
+pa_module *pa_cli_get_module(pa_cli *c);
#endif