stats.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           stats.h  -  description
00003                              -------------------
00004     begin                : Thu Dec 9 2004
00005     copyright            : (C) 2004 by VooDooMan
00006     email                : vdmfun@hotmail.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010 
00011 VooDoo cIRCle - an IRC (ro)bot
00012 Copyright (C) 2004 by Marian VooDooMan Meravy (vdmfun@hotmail.com)
00013 
00014 This program is free software; you can redistribute it and/or
00015 modify it under the terms of the GNU General Public License
00016 as published by the Free Software Foundation; either version 2
00017 of the License, or (at your option) any later version.
00018 
00019 This program is distributed in the hope that it will be useful,
00020 but WITHOUT ANY WARRANTY; without even the implied warranty of
00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022 GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License
00025 along with this program; if not, write to the Free Software
00026 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00027 
00028 ****************************************************************************/
00029 
00030 /*!
00031     \file
00032     \brief Provides some statistics
00033 */
00034 
00035 #ifndef _STATS_H_
00036 #define _STATS_H_
00037 
00038 #include <list>
00039 #include <string>
00040 
00041 using namespace std;
00042 
00043 void stats_init();
00044 void stats_irc_bytes_sent(size_t bytes);
00045 void stats_irc_bytes_received(size_t bytes);
00046 void stats_irc_new_connection(string irc_server_host, unsigned short irc_server_port);
00047 void stats_dcc_chat_bytes_sent(size_t bytes);
00048 void stats_dcc_chat_bytes_received(size_t bytes);
00049 void stats_dcc_send_bytes_sent(size_t bytes);
00050 void stats_dcc_send_bytes_received(size_t bytes);
00051 void stats_dcc_chat_new_connection();
00052 void stats_dcc_send_new_connection();
00053 void stats_botnet_bytes_sent(size_t bytes);
00054 void stats_botnet_bytes_received(size_t bytes);
00055 void stats_dcc_send_bytes_received(size_t bytes);
00056 void stats_botnet_new_connection();
00057 void stats_botnet_proc_pushed();
00058 void stats_botnet_proc_pulled();
00059 void stats_botnet_user_pushed();
00060 void stats_botnet_user_pulled();
00061 void stats_botnet_chandef_pushed();
00062 void stats_botnet_chandef_pulled();
00063 void stats_botnet_private_pushed();
00064 void stats_botnet_private_pulled();
00065 void stats_botnet_partyline_event();
00066 void stats_botnet_auth_ok();
00067 void stats_botnet_auth_error();
00068 void stats_botnet_auth_proto_error();
00069 void stats_mail_sent();
00070 void stats_identd_new_connection();
00071 void stats_identd_bytes_sent(size_t bytes);
00072 void stats_identd_bytes_received(size_t bytes);
00073 
00074 void stats_display(list<string>& lines, string lang);
00075 
00076 #endif
00077 

Generated on Sun Jul 10 03:23:04 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo