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/classSocketEngine.html | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'docs/module-doc/classSocketEngine.html') diff --git a/docs/module-doc/classSocketEngine.html b/docs/module-doc/classSocketEngine.html index 772f60752..ee8167bb8 100644 --- a/docs/module-doc/classSocketEngine.html +++ b/docs/module-doc/classSocketEngine.html @@ -83,8 +83,8 @@ Please note that if there is a catastrophic failure (for example, you try and en

Definition at line 35 of file socketengine.cpp.

-References DEBUG, and EngineHandle.

00036 {
-00037         log(DEBUG,"SocketEngine::SocketEngine()");
+References DEBUG, EngineHandle, and log().
00036 {
+00037         log(DEBUG,"SocketEngine::SocketEngine()");
 00038 #ifdef USE_EPOLL
 00039         EngineHandle = epoll_create(65535);
 00040 #endif
@@ -127,8 +127,8 @@ Destructor The destructor transparently tidies up any resources used by the sock
 

Definition at line 46 of file socketengine.cpp.

-References DEBUG, and EngineHandle.

00047 {
-00048         log(DEBUG,"SocketEngine::~SocketEngine()");
+References DEBUG, EngineHandle, and log().
00047 {
+00048         log(DEBUG,"SocketEngine::~SocketEngine()");
 00049 #ifdef USE_EPOLL
 00050         close(EngineHandle);
 00051 #endif
@@ -188,7 +188,7 @@ You must provide a type (see the consts in 65 of file socketengine.cpp.
 

-References DEBUG, EngineHandle, fds, ref, and X_READBIT. +References DEBUG, EngineHandle, fds, log(), ref, and X_READBIT.

Referenced by InspSocket::InspSocket(), and InspSocket::Poll().

00066 {
 00067         if ((fd < 0) || (fd > 65535))
@@ -197,30 +197,30 @@ Referenced by InspSocket::In
 00070         ref[fd] = type;
 00071         if (readable)
 00072         {
-00073                 log(DEBUG,"Set readbit");
+00073                 log(DEBUG,"Set readbit");
 00074                 ref[fd] |= X_READBIT;
 00075         }
-00076         log(DEBUG,"Add socket %d",fd);
+00076         log(DEBUG,"Add socket %d",fd);
 00077 #ifdef USE_EPOLL
 00078         struct epoll_event ev;
-00079         log(DEBUG,"epoll: Add socket to events, ep=%d socket=%d",EngineHandle,fd);
+00079         log(DEBUG,"epoll: Add socket to events, ep=%d socket=%d",EngineHandle,fd);
 00080         readable ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET;
 00081         ev.data.fd = fd;
 00082         int i = epoll_ctl(EngineHandle, EPOLL_CTL_ADD, fd, &ev);
 00083         if (i < 0)
 00084         {
-00085                 log(DEBUG,"epoll: List insertion failure!");
+00085                 log(DEBUG,"epoll: List insertion failure!");
 00086                 return false;
 00087         }
 00088 #endif
 00089 #ifdef USE_KQUEUE
 00090         struct kevent ke;
-00091         log(DEBUG,"kqueue: Add socket to events, kq=%d socket=%d",EngineHandle,fd);
+00091         log(DEBUG,"kqueue: Add socket to events, kq=%d socket=%d",EngineHandle,fd);
 00092         EV_SET(&ke, fd, readable ? EVFILT_READ : EVFILT_WRITE, EV_ADD, 0, 0, NULL);
 00093         int i = kevent(EngineHandle, &ke, 1, 0, 0, NULL);
 00094         if (i == -1)
 00095         {
-00096                 log(DEBUG,"kqueue: List insertion failure!");
+00096                 log(DEBUG,"kqueue: List insertion failure!");
 00097                 return false;
 00098         }
 00099 #endif
@@ -262,10 +262,10 @@ Delete a file descriptor f rom the engine This function call deletes a file desc
 

Definition at line 103 of file socketengine.cpp.

-References DEBUG, EngineHandle, fds, ref, and X_READBIT. +References DEBUG, EngineHandle, fds, log(), ref, and X_READBIT.

-Referenced by InspSocket::Poll(), and Server::UserToPseudo().

00104 {
-00105         log(DEBUG,"SocketEngine::DelFd(%d)",fd);
+Referenced by InspSocket::Poll(), and Server::UserToPseudo().
00104 {
+00105         log(DEBUG,"SocketEngine::DelFd(%d)",fd);
 00106 
 00107         if ((fd < 0) || (fd > 65535))
 00108                 return false;
@@ -276,7 +276,7 @@ Referenced by InspSocket::Po
 00113                 if (*i == fd)
 00114                 {
 00115                         fds.erase(i);
-00116                         log(DEBUG,"Deleted fd %d",fd);
+00116                         log(DEBUG,"Deleted fd %d",fd);
 00117                         found = true;
 00118                         break;
 00119                 }
@@ -287,7 +287,7 @@ Referenced by InspSocket::Po
 00124         int i = kevent(EngineHandle, &ke, 1, 0, 0, NULL);
 00125         if (i == -1)
 00126         {
-00127                 log(DEBUG,"kqueue: Failed to remove socket from queue!");
+00127                 log(DEBUG,"kqueue: Failed to remove socket from queue!");
 00128                 return false;
 00129         }
 00130 #endif
@@ -298,7 +298,7 @@ Referenced by InspSocket::Po
 00135         int i = epoll_ctl(EngineHandle, EPOLL_CTL_DEL, fd, &ev);
 00136         if (i < 0)
 00137         {
-00138                 log(DEBUG,"epoll: List deletion failure!");
+00138                 log(DEBUG,"epoll: List deletion failure!");
 00139                 return false;
 00140         }
 00141 #endif
@@ -589,7 +589,7 @@ Referenced by Wait()
 
The documentation for this class was generated from the following files:
-
Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by  +
Generated on Wed Dec 14 19:16:28 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.2.3