Alexander Barton
a13bb78b1e
Update copyright notices of recently changed files
2014-03-17 12:22:00 +01:00
Alexander Barton
b130b35f48
Update #include's: remove unused and add missing ones
...
The "deheader" tool (<http://www.catb.org/~esr/deheader/ >) has been
used to find unused #include directives as well as missing ones.
Tested on:
- A/UX 3.1.1
- ArchLinux (2014-03-17)
- Debian GNU/Hurd
- Debian GNU/Linux 6.0.9
- Debian GNU/Linux 7.4
- Fedora 20
- FreeBSD 9.2
- OpenBSD 4.8
- OpenBSD 5.1
- OS X 10.9
- Solaris 11
2014-03-17 11:37:25 +01:00
Alexander Barton
259c314d14
Remove imp.h and exp.h header files
...
These include files don't have a function any more, remove them.
2014-03-17 00:17:02 +01:00
Alexander Barton
43fb18f2f5
Code cleanup, remove blank lines
2014-03-16 22:11:26 +01:00
Federico G. Schwindt
15dfdaac82
More spelling fixes
...
Remove superflous comments, mostly in German. Fix spelling and
use american variants for consistency.
2013-08-04 12:45:11 +01:00
Alexander Barton
5d92198487
Get rid of Conn_ResetPenalty(), it is unused
2012-12-31 18:23:21 +01:00
Alexander Barton
5a200e1543
New function Conn_UpdatePing() to update the "ping timestamp"
2012-01-24 02:44:57 +01:00
Alexander Barton
d2df7396a8
Conn_UpdateIdle(): Code cleanup
2012-01-24 02:43:55 +01:00
Alexander Barton
b24d645ca1
Conn_SetPenalty(): Add new "penalty time" on each function call
...
Until now, the penalty time has only been set when longer as the
already set one, so it didn't accumulate.
And add documentation for and clean up code in Conn_SetPenalty() and
Conn_ResetPenalty() functions.
2012-01-04 21:39:46 +01:00
Alexander Barton
2a7dd06ebd
Code cleanup: mostly removing empty lines
2011-02-13 17:52:38 +01:00
Alexander Barton
03628dbeaf
Add Doxygen @file documentation to each source and header file
2011-02-13 17:52:38 +01:00
Alexander Barton
60eac5e952
New function Conn_IPA(): get client IP address as string
2010-06-25 00:33:00 +02:00
Florian Westphal
544b9884f4
remove or translate old comments
2009-04-21 20:58:30 +02:00
Alexander Barton
a5735f68d7
New global function Conn_SetOption().
2008-09-23 11:47:16 +02:00
Alexander Barton
ab1f48a346
Fix #include's: search log.h locally, include string.h. The latter is required because we include conn.h, which includes resolve.h, which includes ng_ipaddr.h, which contains a macro using strlcpy() ...
2008-03-11 15:42:58 +01:00
Alexander Barton
d4ed056147
Numeric 317: implemented "signon time" (displayed in WHOIS result).
2007-10-04 15:03:55 +00:00
Alexander Barton
dd3a3bc603
Use some more specific data types (e. g. pid_t vs. int), make "SPLint" happy :-)
2006-05-10 21:24:01 +00:00
Florian Westphal
87f4b1c6f6
Client_GetFromConn() removed and replaced with new function Conn_GetClient()
2006-04-23 10:37:27 +00:00
Alexander Barton
660b529c10
Add debug code to Conn_SetPenalty().
2005-09-04 23:38:32 +00:00
Florian Westphal
774c6cda4d
use new buffer API
2005-07-07 18:39:45 +00:00
Alexander Barton
8b0ac2306e
Modified Conn_StartTime() to use information of the CLIENT structure.
2005-06-12 16:32:17 +00:00
Florian Westphal
7daa7fb278
removed Conn_UnsetOption() function. It was not used anymore.
...
removed Conn_SetOption(). replaced its only call (in conn-zip.c) with Conn_OPTION_ADD() macro.
2005-04-25 18:37:16 +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
c40592d2ce
Removed "USE_" prefixes of configuration #defines.
2003-12-26 15:55:07 +00:00
Alexander Barton
7b6e26628a
Fixed and enhanced penalty handling; changed internal time resoluiton of
...
the server to one second. Code cleanup.
2003-11-05 23:24:48 +00:00
Alexander Barton
0b04bfa7c0
- New source module "conn-func.c" and "conn-func.h".
2002-12-30 17:14:28 +00:00