summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-01 19:24:09 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-01 19:24:09 +0000
commit11559a63863fcbbd8a87b8dd8a790aa0ed6f35d1 (patch)
tree4bcc95c8e1d387a7b687b4ed3dd421dbd2175994 /src/pulsecore/cli-command.h
parent414f1d956f98e1921a88061dc118795519168d66 (diff)
parse boolean parameters as boolean instead of int wherever applicable. add new function pa_cli_command_execute_file_stream()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2326 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/cli-command.h')
-rw-r--r--src/pulsecore/cli-command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/cli-command.h b/src/pulsecore/cli-command.h
index c90c8e08..2a923443 100644
--- a/src/pulsecore/cli-command.h
+++ b/src/pulsecore/cli-command.h
@@ -36,6 +36,9 @@ int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, pa_bo
/* Execute a whole file of CLI commands */
int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, pa_bool_t *fail);
+/* Execute a whole file of CLI commands */
+int pa_cli_command_execute_file_stream(pa_core *c, FILE *f, pa_strbuf *buf, pa_bool_t *fail);
+
/* Split the specified string into lines and run pa_cli_command_execute_line() for each. */
int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, pa_bool_t *fail);