exporting functions

This commit is contained in:
Viliam Mateicka 2008-12-31 15:10:53 +01:00
parent 3cd0b90ff6
commit dd9af72a74
4 changed files with 9 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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++;

View File

@ -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