Subversion Repositories mdb

Rev

Rev 5 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
 * Copyright (C) 2015 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__

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. This file will be found during startup!
}CONFIGURE;

extern CONFIGURE configs;

void readConf(void);

#endif