Commits


Removed CONNECTION[].starttime, now saved in CLIENT structure.


conn.h: option filed in CONNECTION struct is now UINT16. conn-func.h: add accessor Macros Conn_OPTION_ADD( conn, CONN_OPTION ) Conn_OPTION_DEL( conn, CONN_OPTION ) Conn_OPTION_ISSET( conn, CONN_OPTION ) To add, remove or test for a certain option field attribute (e.g. CONN_ISCLOSING) These Macros should be used instead of accessing conn->options directly.


Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes. use stdbool.h / inttypes.h if available.


Removed "USE_" prefixes of configuration #defines.


New function Conn_SyncServerStruct().


- new link "option" constant: CONN_ISCLOSING


- Reorganized code for new modules "conn-func.c" and "conn-func.h".


- New source files "conn-zip.c" and "conn-zip.h".


- Cleaned up handling of server configuration structures.


- new functions Conn_ResetWCounter() and Conn_WCounter().


- new file header format (in english).


- neue Befehle: Conn_StartTime(), Conn_SendQ(), Conn_RecvQ(), Conn_SendMsg(), Conn_RecvMsg(), Conn_SendBytes[Zip](), Conn_RecvBytes[Zip]().


- neue Funktionen: Conn_SetOption(), Conn_UnsetOption(), Conn_Options(). - wenn mit zlib-Support: Conn_InitZip().


- neue Funktionen Conn_InitListeners() und Conn_ExitListeners().


- neue Funktion Conn_SetServer().


- Semantik der Conn_xxxFlag()-Funktionen geaendert.


Neue Funktionen: Conn_First(), Conn_Next(), Conn_ClearFlags(), Conn_SetFlag() und Conn_Flag().


- neue Funktion Conn_ResetPenalty().


- neue Funktion Conn_SetPenalty() zum Setzen von sog. "Penalty Zeiten"; wird bisher nur beim Connect verwendet (eine Sekunde).


- Syntax von Conn_Handler() geaendert: kein Timeout mehr.


- Anpassungen an pre-ANSI-Compiler, - Includes aufgeraumt: Header includieren keine anderen mehr.


- Conn_NewListener() erwartet den Port nun als "unsigned int".


- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch einige Aenderungen an diversen Source-Dateien und Headern. - Dateien enthalten keine CVS-History mehr.


- Ergebnistyp von Conn_GetIdle() und Conn_LastPing() auf "time_t" geaendert.


- neue Funktion Conn_LastPing().


- Loglevel und Meldungen nochmals geaendert. Level passen nun besser.


- neue Defines fuer max. Anzahl Server und Operatoren.


- viele neue Befehle (WHOIS, ISON, OPER, DIE, RESTART), - neuen Header "defines.h" mit (fast) allen Konstanten. - Code Cleanups und viele "kleine" Aenderungen & Bugfixes.


- "Code Cleanups".


- Conn_Close() eingefuehrt: war die lokale Funktion Close_Connection().


- Conn_WriteStr() unterstuetzt nun variable Parameter.


- neue globale Funktionen: Conn_Write() und Conn_WriteStr().


- CONN_ID wird definiert.


- Conn_Handler() unterstuetzt nun einen Timeout (in Sekunden).


- Modul zur Verwaltung aller Netzwerk-Verbindungen begonnen.