Rev 34 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Copyright (C) 2015, 2016 by Andreas Theofilu <andreas@theosys.at>
*
* All rights reserved. No warranty, explicit or implicit, provided.
*
* NOTICE: All information contained herein is, and remains
* the property of Andreas Theofilu and his suppliers, if any.
* The intellectual and technical concepts contained
* herein are proprietary to Andreas Theofilu and its suppliers and
* may be covered by European and Foreign Patents, patents in process,
* and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Andreas Theofilu.
*/
#ifndef __CONFIG_H__
#define __CONFIG_H__
#define VERSION "1.1.0"
#define MUSICDB "/music.db"
#define ASYSTEM_ALSA 1
#define ASYSTEM_PULSE 2
typedef struct
{
char User[32]; /* Run as user "User" */
char Grp[32]; /* Run under group "Grp" */
int port; /* Network port to listen to */
char Pidfile[256]; /* File name where PID is stored */
char Pathfile[256]; /* Filename of file with music directories */
char home[256]; /* Filename of directory where to store the database. */
int debug; /* 0 = debug off, >0 = debug on */
char player[256]; /* Type of player: ALSA, PULSE, OSS, ... */
}CONFIGURE;
extern CONFIGURE configs;
void readConf(void);
#endif