unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

setup.h (2265B)

      1 /************************************************************************
      2  *   IRC - Internet Relay Chat, include/win32/setup.h
      3  *   Copyright (C) 1999 Carsten Munk
      4  *
      5  *   This program is free software; you can redistribute it and/or modify
      6  *   it under the terms of the GNU General Public License as published by
      7  *   the Free Software Foundation; either version 1, or (at your option)
      8  *   any later version.
      9  *
     10  *   This program is distributed in the hope that it will be useful,
     11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13  *   GNU General Public License for more details.
     14  *
     15  *   You should have received a copy of the GNU General Public License
     16  *   along with this program; if not, write to the Free Software
     17  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18  *
     19  *   $Id$
     20  */
     21 
     22 #ifndef __setup_include__
     23 #define __setup_include__
     24 
     25 #undef  SYSSYSLOGH
     26 #define NOINDEX
     27 #undef  TIMES_2
     28 #undef  GETRUSAGE_2
     29 #define CONFDIR "conf"
     30 #define MODULESDIR "modules"
     31 #define LOGDIR "logs"
     32 #define PERMDATADIR "data"
     33 #define CACHEDIR "cache"
     34 #define TMPDIR "tmp"
     35 #define PIDFILE PERMDATADIR"/unrealircd.pid"
     36 #define CONTROLFILE PERMDATADIR"/unrealircd.ctl"
     37 #define NO_U_TYPES
     38 #define NEED_U_INT32_T
     39 #define strcasecmp _stricmp
     40 #define strncasecmp _strnicmp
     41 #define HAVE_EXPLICIT_BZERO
     42 #define HAVE_STRNLEN
     43 #define explicit_bzero(a,b) SecureZeroMemory(a,b)
     44 
     45 /* mode_t: Needed in s_conf.c for the third argument of open(3p).
     46  * Should be an int because of http://msdn.microsoft.com/en-us/library/z0kc8e3z(VS.71).aspx
     47  */
     48 #define mode_t int
     49 
     50 /* We don't use any of the wincrypt stuff and this silences
     51  * a warning emitted by LibreSSL:
     52  */
     53 #define NOCRYPT
     54 
     55 /* We require Windows 7 or later */
     56 #define NTDDI_VERSION 0x06010000
     57 #define _WIN32_WINNT 0x0601
     58 
     59 /* Generation version number (e.g.: 3 for Unreal3*) */
     60 #define UNREAL_VERSION_GENERATION 6
     61 
     62 /* Major version number (e.g.: 2 for Unreal3.2*) */
     63 #define UNREAL_VERSION_MAJOR 1
     64 
     65 /* Minor version number (e.g.: 1 for Unreal3.2.1) */
     66 #define UNREAL_VERSION_MINOR 0
     67 
     68 /* Version suffix such as a beta marker or release candidate marker. (e.g.:
     69    -rcX for unrealircd-3.2.9-rcX) */
     70 #define UNREAL_VERSION_SUFFIX ""
     71 
     72 #endif