Subversion Repositories mdb

Rev

Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 34
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2015 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2015, 2016 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * All rights reserved. No warranty, explicit or implicit, provided.
4
 * All rights reserved. No warranty, explicit or implicit, provided.
5
 *
5
 *
6
 * NOTICE:  All information contained herein is, and remains
6
 * NOTICE:  All information contained herein is, and remains
7
 * the property of Andreas Theofilu and his suppliers, if any.
7
 * the property of Andreas Theofilu and his suppliers, if any.
Line 18... Line 18...
18
#define __CONFIG_H__
18
#define __CONFIG_H__
19
 
19
 
20
#define VERSION		"1.0.0"
20
#define VERSION		"1.0.0"
21
#define MUSICDB		"/music.db"
21
#define MUSICDB		"/music.db"
22
 
22
 
-
 
23
#define ASYSTEM_ALSA	1
-
 
24
#define ASYSTEM_PULSE	2
-
 
25
 
23
typedef struct
26
typedef struct
24
{
27
{
25
	char User[32];				/* Run as user "User" */
28
	char User[32];				/* Run as user "User" */
26
	char Grp[32];				/* Run under group "Grp" */
29
	char Grp[32];				/* Run under group "Grp" */
27
	int port;					/* Network port to listen to */
30
	int port;					/* Network port to listen to */
28
	char Pidfile[256];			/* File name where PID is stored */
31
	char Pidfile[256];			/* File name where PID is stored */
29
	char Pathfile[256];			/* Filename of file with music directories */
32
	char Pathfile[256];			/* Filename of file with music directories */
30
	char home[256];				/* Filename of directory where to store the database. */
33
	char home[256];				/* Filename of directory where to store the database. */
-
 
34
	int debug;					/* 0 = debug off, >0 = debug on */
31
	char player[256];			/* Type of player: ALSA, PULSE, OSS, ... */
35
	char player[256];			/* Type of player: ALSA, PULSE, OSS, ... */
32
}CONFIGURE;
36
}CONFIGURE;
33
 
37
 
34
extern CONFIGURE configs;
38
extern CONFIGURE configs;
35
 
39