]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/cli-command.h
make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after modul...
[pulseaudio] / src / pulsecore / cli-command.h
index c90c8e08a2bc017ab826485a9f8e725fde3f2f53..9bf35dc330fc928842d86931a083b5a8338bddd1 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef fooclicommandhfoo
 #define fooclicommandhfoo
 
-/* $Id$ */
-
 /***
   This file is part of PulseAudio.
 
@@ -36,6 +34,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);