summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.h
diff options
context:
space:
mode:
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);