From a96514c284514116300794696f062c7fa6b1f79f Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 19:17:41 +0000 Subject: Added new docs for class InspIRCd and globals.h etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2451 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classInspSocket.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/module-doc/classInspSocket.html') diff --git a/docs/module-doc/classInspSocket.html b/docs/module-doc/classInspSocket.html index 7118cc2c1..17e451bec 100644 --- a/docs/module-doc/classInspSocket.html +++ b/docs/module-doc/classInspSocket.html @@ -273,25 +273,25 @@ This constructor is used to create a new socket, either listening for connection

Definition at line 62 of file socket.cpp.

-References SocketEngine::AddFd(), addr, addy, BindSocket(), Close(), DEBUG, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, IP, OnError(), OpenTCPSocket(), state, timeout, timeout_end, and X_ESTAB_MODULE.

00063 {
+References SocketEngine::AddFd(), addr, addy, BindSocket(), Close(), DEBUG, ERROR, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, IP, log(), OnError(), OpenTCPSocket(), state, timeout, timeout_end, and X_ESTAB_MODULE.
00063 {
 00064         if (listening) {
-00065                 if ((this->fd = OpenTCPSocket()) == ERROR)
+00065                 if ((this->fd = OpenTCPSocket()) == ERROR)
 00066                 {
 00067                         this->fd = -1;
 00068                         this->state = I_ERROR;
 00069                         this->OnError(I_ERR_SOCKET);
-00070                         log(DEBUG,"OpenTCPSocket() error");
+00070                         log(DEBUG,"OpenTCPSocket() error");
 00071                         return;
 00072                 }
 00073                 else
 00074                 {
-00075                         if (BindSocket(this->fd,this->client,this->server,port,(char*)host.c_str()) == ERROR)
+00075                         if (BindSocket(this->fd,this->client,this->server,port,(char*)host.c_str()) == ERROR)
 00076                         {
 00077                                 this->Close();
 00078                                 this->fd = -1;
 00079                                 this->state = I_ERROR;
 00080                                 this->OnError(I_ERR_BIND);
-00081                                 log(DEBUG,"BindSocket() error %s",strerror(errno));
+00081                                 log(DEBUG,"BindSocket() error %s",strerror(errno));
 00082                                 return;
 00083                         }
 00084                         else
@@ -299,7 +299,7 @@ References SocketEngin
 00086                                 this->state = I_LISTENING;
 00087                                 SE->AddFd(this->fd,true,X_ESTAB_MODULE);
 00088                                 socket_ref[this->fd] = this;
-00089                                 log(DEBUG,"New socket now in I_LISTENING state");
+00089                                 log(DEBUG,"New socket now in I_LISTENING state");
 00090                                 return;
 00091                         }
 00092                 }                       
@@ -919,7 +919,7 @@ Reads all pending bytes from the socket into a char* array which can be up to 16
 

Definition at line 158 of file socket.cpp.

-References DEBUG, and ibuf.

00159 {
+References DEBUG, ibuf, and log().
00159 {
 00160         int n = recv(this->fd,this->ibuf,sizeof(this->ibuf),0);
 00161         if (n > 0)
 00162         {
@@ -928,7 +928,7 @@ References DEBUG, an
 00165         }
 00166         else
 00167         {
-00168                 log(DEBUG,"EOF or error on socket");
+00168                 log(DEBUG,"EOF or error on socket");
 00169                 return NULL;
 00170         }
 00171 }
@@ -968,10 +968,10 @@ The core uses this to change socket states, and you should not call it directly.
 

Definition at line 248 of file socket.cpp.

-References DEBUG, and state. +References DEBUG, log(), and state.

Referenced by Poll().

00249 {
-00250         log(DEBUG,"Socket state change");
+00250         log(DEBUG,"Socket state change");
 00251         this->state = s;
 00252 }
 
@@ -1465,7 +1465,7 @@ Referenced by InspSocket()
The documentation for this class was generated from the following files:
-
Generated on Wed Dec 14 15:55:49 2005 for InspIRCd by  +
Generated on Wed Dec 14 19:16:26 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.2.3