ngircd.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * ngIRCd -- The Next Generation IRC Daemon
  3. * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
  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 2 of the License, or
  8. * (at your option) any later version.
  9. * Please read the file COPYING, README and AUTHORS for more information.
  10. *
  11. * $Id: ngircd.h,v 1.22 2005/06/24 19:20:56 fw Exp $
  12. *
  13. * Prototypes of the "main module".
  14. */
  15. #ifndef __ngircd_h__
  16. #define __ngircd_h__
  17. #include <time.h>
  18. #include "defines.h"
  19. GLOBAL time_t NGIRCd_Start; /* Startzeitpunkt des Daemon */
  20. GLOBAL char NGIRCd_StartStr[64];
  21. GLOBAL char NGIRCd_Version[126];
  22. GLOBAL char NGIRCd_VersionAddition[126];
  23. #ifdef DEBUG
  24. GLOBAL bool NGIRCd_Debug; /* Debug-Modus aktivieren */
  25. #endif
  26. #ifdef SNIFFER
  27. GLOBAL bool NGIRCd_Sniffer; /* Sniffer aktivieren */
  28. #endif
  29. GLOBAL bool NGIRCd_Passive; /* nicht zu anderen Servern connecten */
  30. GLOBAL bool NGIRCd_SignalQuit; /* true: quit server*/
  31. GLOBAL bool NGIRCd_SignalRestart; /* true: restart server */
  32. GLOBAL bool NGIRCd_SignalRehash; /* true: reload configuration */
  33. GLOBAL char NGIRCd_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */
  34. GLOBAL char NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
  35. GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
  36. GLOBAL void NGIRCd_Rehash PARAMS(( void ));
  37. #endif
  38. /* -eof- */