From bc0d192a35489b8f5c42aa381ab2b120957ef770 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 7 May 2005 15:35:21 +0000 Subject: Added final documentation for inspircd Beta 4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1322 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/connection_8h-source.html | 228 +++++++++++++++--------------- 1 file changed, 117 insertions(+), 111 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 52c7221ad..279b3b5b7 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -61,120 +61,126 @@ 00077 00080 bool SetHostAddress(char* host, int port); 00081 -00082 -00083 public: -00084 -00087 std::string ircdbuffer; -00088 -00089 -00094 char host[MAXBUF]; -00095 -00100 int port; -00101 -00106 std::vector<std::string> routes; -00107 -00108 -00111 bool MakeOutboundConnection(char* newhost, int newport); +00084 std::string version; +00085 +00086 public: +00087 +00092 std::string ircdbuffer; +00093 +00094 +00099 char host[MAXBUF]; +00100 +00105 int port; +00106 +00111 std::vector<std::string> routes; 00112 -00115 std::string GetServerName(); -00116 -00119 void SetServerName(std::string serv); -00120 -00123 int GetDescriptor(); -00124 -00127 void SetDescriptor(int fd); -00128 -00131 int GetState(); -00132 -00135 void SetState(int state); -00136 -00139 char* GetServerIP(); -00140 -00143 std::string GetDescription(); -00144 -00147 void SetDescription(std::string desc); -00148 -00154 int GetServerPort(); -00155 -00158 void SetServerPort(int p); -00159 -00162 bool SetHostAndPort(char* newhost, int newport); -00163 -00167 void CloseConnection(); -00168 -00169 void AddBuffer(std::string a); -00170 bool BufferIsComplete(); -00171 void ClearBuffer(); -00172 std::string GetBuffer(); -00173 }; -00174 -00175 -00178 class connection : public Extensible -00179 { -00180 public: -00183 int fd; -00184 -00187 char host[256]; -00188 -00191 char ip[32]; -00192 -00195 char inbuf[MAXBUF]; -00196 -00199 long bytes_in; +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 -00203 long bytes_out; -00204 -00207 long cmds_in; -00208 -00211 long cmds_out; -00212 -00215 bool haspassed; -00216 -00221 int port; -00222 -00225 int registered; -00226 -00229 short int state; -00230 -00233 time_t lastping; -00234 -00237 time_t signon; -00238 -00241 time_t idle_lastmsg; -00242 -00245 time_t nping; -00246 -00249 char internal_addr[MAXBUF]; -00250 -00253 int internal_port; -00254 -00258 std::vector<ircd_connector> connectors; -00259 -00262 connection(); -00263 -00266 bool CreateListener(char* host, int p); -00267 -00270 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); -00271 -00274 bool MeshCookie(char* targethost, int port, unsigned long cookie, char* servername); -00275 -00278 void TerminateLink(char* targethost); -00279 -00283 bool SendPacket(char *message, const char* host); -00284 -00289 bool RecvPacket(std::deque<std::string> &messages, char* host); -00290 -00293 ircd_connector* FindHost(std::string host); -00294 -00298 bool AddIncoming(int fd,char* targethost, int sourceport); +00204 std::string GetVersionString(); +00205 }; +00206 +00207 +00210 class connection : public Extensible +00211 { +00212 public: +00215 int fd; +00216 +00219 char host[256]; +00220 +00223 char ip[32]; +00224 +00227 char inbuf[MAXBUF]; +00228 +00231 long bytes_in; +00232 +00235 long bytes_out; +00236 +00239 long cmds_in; +00240 +00243 long cmds_out; +00244 +00247 bool haspassed; +00248 +00253 int port; +00254 +00257 int registered; +00258 +00261 short int state; +00262 +00265 time_t lastping; +00266 +00269 time_t signon; +00270 +00273 time_t idle_lastmsg; +00274 +00277 time_t nping; +00278 +00281 char internal_addr[MAXBUF]; +00282 +00285 int internal_port; +00286 +00290 std::vector<ircd_connector> connectors; +00291 +00294 connection(); +00295 +00298 bool CreateListener(char* host, int p); 00299 -00302 long GenKey(); -00303 }; -00304 -00305 -00306 #endif -00307 -
Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by +00302 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); +00303 +00306 bool MeshCookie(char* targethost, int port, unsigned long cookie, char* servername); +00307 +00310 void TerminateLink(char* targethost); +00311 +00315 bool SendPacket(char *message, const char* host); +00316 +00321 bool RecvPacket(std::deque<std::string> &messages, char* host); +00322 +00325 ircd_connector* FindHost(std::string host); +00326 +00330 bool AddIncoming(int fd,char* targethost, int sourceport); +00331 +00332 }; +00333 +00334 +00335 #endif +
Generated on Sat May 7 15:34:20 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3