Commit Graph

27 Commits

Author SHA1 Message Date
Alexander Barton f3ec90f3f0 Doxygen'ify and update comments in ngircd.{c|h} 2011-02-13 17:52:39 +01:00
Alexander Barton 72a982ae7e Add missong Doxygen @file tags to ngircd.h and irc-op.h 2011-02-13 17:52:39 +01:00
Alexander Barton 2a7dd06ebd Code cleanup: mostly removing empty lines 2011-02-13 17:52:38 +01:00
Florian Westphal ef3dbf96eb remove NGIRCd_SignalRehash
now that the main signal handling is done from the dispatcher
loop we can call NGIRCD_Rehash() directly.

the /REHASH handler can queue the Rehash() function for
execution by sending a SIGHUP.  It will be run when we
return back to the dispatch loop.
2010-09-11 11:36:12 +02:00
Florian Westphal 1fe17e246c Add new 'delayed' signal handlers.
Allows to defer/queue signal processing for execution on the next
event dispatch call, i.e. we can perform any signal action in
normal, non-signal context.

Example uses:
- Reload everything on HUP without writing a global "SIGHUP_received"
  variable
- Dump status of internal Lists on SIGUSR1, etc.
2010-09-11 11:36:12 +02:00
Florian Westphal dbea187373 removed global variable NGIRCd_NoDaemon 2005-06-24 19:20:56 +00:00
Florian Westphal 8adff59223 Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
use stdbool.h / inttypes.h if available.
2005-03-19 18:43:48 +00:00
Alexander Barton 894cd2cd68 Don't create version information string each time a client connects but
insetead on server startup. By Florian Westphal.
2005-02-09 09:52:58 +00:00
Alexander Barton 6626395c88 - replaced a lot of strcat() calls with strlcat() which is more secure. 2002-12-26 16:48:14 +00:00
Alexander Barton 43a4bc5b8b - New signal handler. 2002-12-19 04:29:59 +00:00
Alexander Barton fa7b3f0e4c - new file header format. 2002-12-12 11:30:23 +00:00
Alexander Barton cf2d479437 - NGIRCd_Reload() in NGIRCd_Rehash() umbenannt. 2002-11-22 23:31:23 +00:00
Alexander Barton 4c6e07c309 - neue Funktion NGIRCd_Reload(). 2002-11-22 17:59:54 +00:00
Alexander Barton ff07226814 - neue Variable: NGIRCd_ProtoID (Protokoll- und Server-ID fuer "PASS"-Befehl) 2002-09-02 19:01:11 +00:00
Alexander Barton c2f60abe55 - Anpassungen an pre-ANSI-Compiler,
- Includes aufgeraumt: Header includieren keine anderen mehr.
2002-05-27 13:09:26 +00:00
Alexander Barton e8668cf593 - NGIRCd_ConfFile definiert. 2002-03-27 16:40:31 +00:00
Alexander Barton ca33cbda05 - externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch
einige Aenderungen an diversen Source-Dateien und Headern.
- Dateien enthalten keine CVS-History mehr.
2002-03-12 14:37:51 +00:00
Alexander Barton d1382fab5c - Neue Variablen NGIRCd_DebugVersion und NGIRCd_Passive. 2002-02-19 20:07:48 +00:00
Alexander Barton efe152336c - Neue Funktion NGIRCd_VersionAddition(). 2002-02-17 23:40:32 +00:00
Alexander Barton d79a7d287a - der Sniffer wird nun nur noch aktiviert, wenn auf Kommandozeile angegeben. 2002-01-18 11:12:11 +00:00
Alexander Barton 52424b49cb - Kommandozeilen-Parser implementiert: Debug- und No-Daemon-Modus, Hilfe. 2002-01-11 14:45:18 +00:00
Alexander Barton 03d971d994 - neue Defines fuer max. Anzahl Server und Operatoren. 2002-01-02 02:44:36 +00:00
Alexander Barton cc18008b6c - das #include fuer time.h hat noch gefehlt. 2001-12-31 03:06:03 +00:00
Alexander Barton 804b1ec498 - viele neue Befehle (WHOIS, ISON, OPER, DIE, RESTART),
- neuen Header "defines.h" mit (fast) allen Konstanten.
- Code Cleanups und viele "kleine" Aenderungen & Bugfixes.
2001-12-31 02:18:51 +00:00
Alexander Barton ac9da09e87 - der Server meldet nun eine ordentliche "Start-Zeit". 2001-12-30 11:42:00 +00:00
Alexander Barton 0f6d3bdea3 - NGIRCd_Quit ist nun das globale Flag zum Beenden des ngircd. 2001-12-12 23:30:01 +00:00
Alexander Barton f4ade537d5 Initial revision 2001-12-11 21:53:04 +00:00