From 4d5a17380bc71cabe544b41c7c8a26a292384f3d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 May 2005 17:05:15 +0000 Subject: Added docs for hashcomp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1396 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/connection_8h-source.html | 256 +++++++++++++++--------------- 1 file changed, 129 insertions(+), 127 deletions(-) (limited to 'docs/module-doc/connection_8h-source.html') diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index a808f43f7..e56f1b61b 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -4,7 +4,7 @@ -
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
+
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

connection.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
 00002  *       | Inspire Internet Relay Chat Daemon |
 00003  *       +------------------------------------+
@@ -46,133 +46,135 @@
 00039 #define STATE_NOAUTH_OUTBOUND   4
 00040 #define STATE_SERVICES          5
 00041 
-00054 class ircd_connector : public Extensible
-00055 {
-00056  private:
-00059         sockaddr_in addr;
-00060         
-00063         int fd;
-00064         
-00067         std::string servername;
-00068         
-00071         std::string description;
-00072         
-00076         char state;
-00077         
-00080         bool SetHostAddress(char* host, int port);
-00081 
-00084         std::string version;
-00085 
-00086  public:
+00042 std::string CreateSum();
+00043 
+00056 class ircd_connector : public Extensible
+00057 {
+00058  private:
+00061         sockaddr_in addr;
+00062         
+00065         int fd;
+00066         
+00069         std::string servername;
+00070         
+00073         std::string description;
+00074         
+00078         char state;
+00079         
+00082         bool SetHostAddress(char* host, int port);
+00083 
+00086         std::string version;
 00087 
-00092         std::string ircdbuffer;
-00093 
-00094  
-00099         char host[MAXBUF];
-00100 
-00105         int port;
-00106         
-00111         std::vector<std::string> routes;
-00112         
-00113 
-00116         bool MakeOutboundConnection(char* newhost, int newport);
-00117         
-00120         std::string GetServerName();
-00121         
-00124         void SetServerName(std::string serv);
-00125         
-00128         int GetDescriptor();
-00129         
-00132         void SetDescriptor(int fd);
-00133         
-00136         int GetState();
-00137         
-00140         void SetState(int state);
-00141         
-00144         char* GetServerIP();
-00145         
-00148         std::string GetDescription();
-00149         
-00152         void SetDescription(std::string desc);
-00153         
-00159         int GetServerPort();
-00160         
-00163         void SetServerPort(int p);
-00164         
-00167         bool SetHostAndPort(char* newhost, int newport);
-00168         
-00172         void CloseConnection();
-00173 
-00179         void AddBuffer(std::string a);
-00180 
-00185         bool BufferIsComplete();
-00186 
-00189         void ClearBuffer();
-00190 
-00195         std::string GetBuffer();
-00196 
-00199         void SetVersionString(std::string newversion);
-00200 
-00204         std::string GetVersionString();
-00205 };
-00206 
-00207 
-00210 class connection : public Extensible
-00211 {
-00212  public:
-00215         int fd;
-00216         
-00219         char host[160];
-00220         
-00223         char ip[16];
-00224         
-00227         long bytes_in;
-00228 
-00231         long bytes_out;
-00232 
-00235         long cmds_in;
-00236 
-00239         long cmds_out;
-00240 
-00243         bool haspassed;
-00244 
-00249         int port;
-00250         
-00253         char registered;
-00254         
-00257         time_t lastping;
-00258         
-00261         time_t signon;
-00262         
-00265         time_t idle_lastmsg;
-00266         
-00269         time_t nping;
-00270         
-00274         std::vector<ircd_connector> connectors;
-00275         
-00278         connection();
-00279         
-00282         bool CreateListener(char* host, int p);
-00283         
-00286         bool BeginLink(char* targethost, int port, char* password, char* servername, int myport);
-00287         
-00290         bool MeshCookie(char* targethost, int port, unsigned long cookie, char* servername);
-00291         
-00294         void TerminateLink(char* targethost);
-00295         
-00299         bool SendPacket(char *message, const char* host);
-00300         
-00305         bool RecvPacket(std::deque<std::string> &messages, char* host);
-00306         
-00309         ircd_connector* FindHost(std::string host);
-00310         
-00314         bool AddIncoming(int fd,char* targethost, int sourceport);
-00315         
-00316 };
-00317 
-00318 
-00319 #endif
-

Generated on Fri May 13 15:48:41 2005 for InspIRCd by +00088 public: +00089 +00094 std::string ircdbuffer; +00095 +00096 +00101 char host[MAXBUF]; +00102 +00107 int port; +00108 +00113 std::vector<std::string> routes; +00114 +00115 +00118 bool MakeOutboundConnection(char* newhost, int newport); +00119 +00122 std::string GetServerName(); +00123 +00126 void SetServerName(std::string serv); +00127 +00130 int GetDescriptor(); +00131 +00134 void SetDescriptor(int fd); +00135 +00138 int GetState(); +00139 +00142 void SetState(int state); +00143 +00146 char* GetServerIP(); +00147 +00150 std::string GetDescription(); +00151 +00154 void SetDescription(std::string desc); +00155 +00161 int GetServerPort(); +00162 +00165 void SetServerPort(int p); +00166 +00169 bool SetHostAndPort(char* newhost, int newport); +00170 +00174 void CloseConnection(); +00175 +00181 void AddBuffer(std::string a); +00182 +00187 bool BufferIsComplete(); +00188 +00191 void ClearBuffer(); +00192 +00197 std::string GetBuffer(); +00198 +00201 void SetVersionString(std::string newversion); +00202 +00206 std::string GetVersionString(); +00207 }; +00208 +00209 +00212 class connection : public Extensible +00213 { +00214 public: +00217 int fd; +00218 +00221 char host[160]; +00222 +00225 char ip[16]; +00226 +00229 long bytes_in; +00230 +00233 long bytes_out; +00234 +00237 long cmds_in; +00238 +00241 long cmds_out; +00242 +00245 bool haspassed; +00246 +00251 int port; +00252 +00255 char registered; +00256 +00259 time_t lastping; +00260 +00263 time_t signon; +00264 +00267 time_t idle_lastmsg; +00268 +00271 time_t nping; +00272 +00276 std::vector<ircd_connector> connectors; +00277 +00280 connection(); +00281 +00284 bool CreateListener(char* host, int p); +00285 +00288 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); +00289 +00292 bool MeshCookie(char* targethost, int port, unsigned long cookie, char* servername); +00293 +00296 void TerminateLink(char* targethost); +00297 +00301 bool SendPacket(char *message, const char* host); +00302 +00307 bool RecvPacket(std::deque<std::string> &messages, char* host, std::deque<std::string> &sums); +00308 +00311 ircd_connector* FindHost(std::string host); +00312 +00316 bool AddIncoming(int fd,char* targethost, int sourceport); +00317 +00318 }; +00319 +00320 +00321 #endif +
Generated on Sun May 15 17:02:05 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3