]> arthur.barton.de Git - ngircd-alex.git/commit
Enhace connection statistics counters
authorAlexander Barton <alex@barton.de>
Fri, 23 Apr 2010 21:25:34 +0000 (23:25 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 23 Apr 2010 21:25:34 +0000 (23:25 +0200)
commit1338ade65032e5aea4891694a61d8ee3d1c795e1
tree71942eb3dc0386521a5e22411e11a33806451456
parent21140500f1d77bdb0912c67a5402ab7280f2ba42
Enhace connection statistics counters

This patch enables ngIRCd to count the highest maximum simultaneous
connections and all the connections accepted since startup.

New functions:
- Conn_Count(): get current connections
- Conn_CountMax(): maximum simultaneous connections
- Conn_CountAccepted(): number of connections accepted
src/ngircd/conn.c
src/ngircd/conn.h