/*
 * ----------------------------------------------------------------
 * Night Light IRC Proxy - Configuration Header
 * ----------------------------------------------------------------
 * Copyright (C) 2006-2007 Jonas Kvinge <jonas@night-light.net>
 * All rights reserved.
 *
 * 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.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Last modified by:
 * Jonas Kvinge (15.11.2006)
 *
 */

#ifdef CONF_H
#warning "conf.h already included."
#else
#define CONF_H

/* STRUCTURES - JONAS (15.11.2006) */

struct Conf_Struct {

  char *File;
  char *EUser;
  char *EGroup;
  unsigned short int ChDir;
  char *ChDirPath;
  char *DataPath;
  char *LogPath;
  char *PIDFile;
  unsigned short int MaxClients;
  unsigned short int ClientShowDenyReason;
  unsigned long int ClientMaxSendQ;
  unsigned long int ClientMaxLines;
  unsigned long int ClientLineFloodTTL;
  char *AccessConfFile;
  char *ListenConfFile;
  char *UserConfFile;
  char *ConnConfFile;
  char *AutoOPConfFile;
  char *IdentConfFile;
  char *MainLogFile;
  char *ErrorLogFile;
  char *DebugLogFile;
  unsigned short int SSLSupport;
  char *SSLServerCertificate;
  char *SSLClientCertificate;
  char *SSLServerPrivateKey;
  char *SSLClientPrivateKey;
  char *SSLServerCiphers;
  char *SSLClientCiphers;
  unsigned short int CryptPass;
  unsigned short int UnixPasswd;

};

/* FUNCTION PROTOTYPES - JONAS (15.11.2006) */

signed long int conf_read(void);
void conf_init(void);
void conf_destroy(void);

#endif


syntax highlighted by Code2HTML, v. 0.9.1