connection.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __CONNECTION_H__
00015 #define __CONNECTION_H__
00016
00017 #include <time.h>
00018 #include "inspircd_config.h"
00019 #include "base.h"
00020 #include "socketengine.h"
00021
00025 class CoreExport connection : public EventHandler
00026 {
00027 public:
00031 char host[65];
00032
00035 int bytes_in;
00036
00039 int bytes_out;
00040
00043 int cmds_in;
00044
00047 int cmds_out;
00048
00051 bool haspassed;
00052
00057 char registered;
00058
00061 time_t lastping;
00062
00067 time_t signon;
00068
00071 time_t idle_lastmsg;
00072
00075 time_t nping;
00076 };
00077
00078
00079 #endif