summaryrefslogtreecommitdiffstats
path: root/polyp/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/cli.h')
-rw-r--r--polyp/cli.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/cli.h b/polyp/cli.h
index bfe0c4f8..44ed706c 100644
--- a/polyp/cli.h
+++ b/polyp/cli.h
@@ -28,9 +28,11 @@
struct pa_cli;
+/* Create a new command line session on the specified io channel owned by the specified module */
struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io, struct pa_module *m);
void pa_cli_free(struct pa_cli *cli);
+/* Set a callback function that is called whenever the command line session is terminated */
void pa_cli_set_eof_callback(struct pa_cli *cli, void (*cb)(struct pa_cli*c, void *userdata), void *userdata);
#endif