~diwic/ubuntu/lucid/pulseaudio/bugfixes

« back to all changes in this revision

Viewing changes to src/pulsecore/cli-command.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mto: (1.15.1 sid)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071204005608-3lzrrrpxi186kgx4
Tags: upstream-0.9.8
ImportĀ upstreamĀ versionĀ 0.9.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef fooclicommandhfoo
2
2
#define fooclicommandhfoo
3
3
 
4
 
/* $Id: cli-command.h 1456 2007-05-26 23:39:33Z lennart $ */
 
4
/* $Id: cli-command.h 2008 2007-11-01 00:32:45Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
31
31
 * buffer *buf. If *fail is non-zero the function will return -1 when
32
32
 * one or more of the executed commands failed. *fail
33
33
 * may be modified by the function call. */
34
 
int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, int *fail);
 
34
int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, pa_bool_t *fail);
35
35
 
36
36
/* Execute a whole file of CLI commands */
37
 
int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, int *fail);
 
37
int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, pa_bool_t *fail);
38
38
 
39
39
/* Split the specified string into lines and run pa_cli_command_execute_line() for each. */
40
 
int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, int *fail);
 
40
int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, pa_bool_t *fail);
41
41
 
42
42
/* Same as pa_cli_command_execute_line() but also take ifstate var. */
43
 
int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *buf, int *fail, int *ifstate);
 
43
int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *buf, pa_bool_t *fail, int *ifstate);
44
44
 
45
45
#endif