Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

connection.h

Go to the documentation of this file.
00001 /*
00002 
00003 $Log$
00003 Revision 1.1  2003/01/26 23:52:48  brain
00003 Modified documentation for base classes
00003 
00004 Revision 1.1  2003/01/26 20:15:00  brain
00005 Added server classes for linking
00006 
00007 
00008 */
00009 
00010 #include "inspircd_config.h" 
00011 #include "base.h"
00012 #include <string>
00013 #include <map.h>
00014  
00015 #ifndef __CONNECTION_H__ 
00016 #define __CONNECTION_H__ 
00017  
00018 class connection : public classbase
00019 {
00020  public:
00021         int fd;                 // file descriptor
00022         char host[256];         // hostname
00023         long ip;                // ipv4 address
00024         char inbuf[MAXBUF];     // recvQ
00025         long bytes_in;
00026         long bytes_out;
00027         long cmds_in;
00028         long cmds_out;
00029         bool haspassed;
00030         int port;
00031         int registered;
00032         time_t lastping;
00033         time_t signon;
00034         time_t idle_lastmsg;
00035         time_t nping;
00036 };
00037 
00038 
00039 #endif
00040 

Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by doxygen1.3-rc2