Pass in libconfig info during init.

This commit is contained in:
Mike Brady
2015-05-04 17:14:15 +01:00
parent 3a93b4ae06
commit 9cfc61790e
+2 -1
View File
@@ -2,6 +2,7 @@
#define _AUDIO_H
#include <stdint.h>
#include <libconfig.h>
typedef struct {
double airplay_volume;
@@ -18,7 +19,7 @@ typedef struct {
char *name;
// start of program
int (*init)(int argc, char **argv);
int (*init)(int argc, char **argv, config_t* cfgp);
// at end of program
void (*deinit)(void);