~ubuntu-branches/ubuntu/oneiric/pulseaudio/oneiric

« 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
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204005608-y1xqvcu45g1yxtlu
Tags: 0.9.8-1ubuntu1
"Hail our new PulseAudio overlords (part two)."

* Merge from Debian unstable.
* Ubuntu-specific changes:
  - debian/control:
    + Don't build-depend on libjack0.100.0-dev or build jack module
      packages,
    + Update pulseaudio's Recommends and Suggests to accomodate
      existing promoted main packages,
    + Explicitly mention pasuspender in pulseaudio-utils's long
      description,
    + Add Vcs-Bzr URI,
    + Adhere to DebianMaintainerField;
  - debian/rules: Use multiuser for update-rc.d;
  - debian/patches/series: Retain the exclusion of
    0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch.
* Dropped Ubuntu-specific change (absorbed into Debian source):
  debian/patches/0002-Double-esound-maximum-sample-size.patch.

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