]>
code.delx.au - pulseaudio/blob - polyp/daemon-conf.h
fc31117f25df6df761b62aab8a3cc5740c2c3095
1 #ifndef foodaemonconfhfoo
2 #define foodaemonconfhfoo
7 This file is part of polypaudio.
9 polypaudio is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published
11 by the Free Software Foundation; either version 2 of the License,
12 or (at your option) any later version.
14 polypaudio is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with polypaudio; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
27 enum pa_daemon_conf_cmd
{
35 struct pa_daemon_conf
{
36 enum pa_daemon_conf_cmd cmd
;
41 disallow_module_loading
,
46 char *script_commands
, *dl_search_path
, *default_script_file
;
47 enum pa_log_target log_target
;
52 struct pa_daemon_conf
* pa_daemon_conf_new(void);
53 void pa_daemon_conf_free(struct pa_daemon_conf
*c
);
55 int pa_daemon_conf_load(struct pa_daemon_conf
*c
, const char *filename
);
56 char *pa_daemon_conf_dump(struct pa_daemon_conf
*c
);
57 int pa_daemon_conf_env(struct pa_daemon_conf
*c
);
59 int pa_daemon_conf_set_log_target(struct pa_daemon_conf
*c
, const char *string
);
60 int pa_daemon_conf_set_resample_method(struct pa_daemon_conf
*c
, const char *string
);