63 lines
1.5 KiB
C
Raw Normal View History

2003-10-13 15:03:14 +00:00
/*
* Header info for daapd server
*
2003-12-29 20:41:08 +00:00
* Copyright (C) 2003 Ron Pedde (ron@pedde.com)
2003-10-13 15:03:14 +00:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
2004-11-12 07:27:05 +00:00
/**
* \file daapd.h
*
* header file for main.c. Why it isn't main.h, I don't know.
* In fact...
*
* \todo make daapd.h into main.h
*/
2003-10-13 15:03:14 +00:00
#ifndef _DAAPD_H_
#define _DAAPD_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#define PATHSEP '/'
#define PATHSEP_STR "/"
#ifdef DEBUG
# ifndef ASSERT
# define ASSERT(f) \
if(f) \
{} \
else \
err_log(0,"Assert error in %s, line %d\n",__FILE__,__LINE__)
# endif /* ndef ASSERT */
#else /* ndef DEBUG */
# ifndef ASSERT
# define ASSERT(f)
# endif
#endif
2003-10-13 15:03:14 +00:00
2009-04-07 17:37:12 +02:00
/* Event bases */
extern struct event_base *evbase_main;
2003-10-13 15:03:14 +00:00
#endif /* _DAAPD_H_ */