Commit dd9af72a authored by Viliam Mateicka's avatar Viliam Mateicka

exporting functions

parent 3cd0b90f
......@@ -39,7 +39,7 @@ static struct audio_format input_audio_format;
static struct audio_output *audioOutputArray;
static unsigned int audioOutputArraySize;
static unsigned int audio_output_count(void)
unsigned int audio_output_count(void)
{
unsigned int nr = 0;
ConfigParam *param = NULL;
......
......@@ -28,6 +28,8 @@ struct audio_format;
struct tag;
struct client;
unsigned int audio_output_count(void);
void getOutputAudioFormat(const struct audio_format *inFormat,
struct audio_format *outFormat);
......
......@@ -60,7 +60,7 @@ static int get_bool(const char *value)
return CONF_BOOL_INVALID;
}
static ConfigParam *newConfigParam(char *value, int line)
ConfigParam *newConfigParam(const char *value, int line)
{
ConfigParam *ret = g_new(ConfigParam, 1);
......@@ -187,7 +187,7 @@ void initConf(void)
registerConfigParam(CONF_GAPLESS_MP3_PLAYBACK, 0, 0);
}
static void addBlockParam(ConfigParam * param, char *name, char *value,
void addBlockParam(ConfigParam * param, const char *name, const char *value,
int line)
{
param->numberOfBlockParams++;
......
......@@ -103,4 +103,8 @@ bool config_get_bool(const char *name, bool default_value);
int getBoolBlockParam(ConfigParam *param, const char *name, int force);
ConfigParam *newConfigParam(const char *value, int line);
void addBlockParam(ConfigParam * param, const char *name, const char *value, int line);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment