From 4705381691cba08c7d3e6ef982e2335bb7672960 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Apr 2005 19:28:32 +0000 Subject: Added DNS class to documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@952 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/annotated.html | 4 +- docs/module-doc/base_8h-source.html | 2 +- docs/module-doc/base_8h.html | 2 +- docs/module-doc/channels_8cpp-source.html | 2 +- docs/module-doc/channels_8cpp.html | 4 +- docs/module-doc/channels_8h-source.html | 2 +- docs/module-doc/channels_8h.html | 2 +- docs/module-doc/classAdmin-members.html | 2 +- docs/module-doc/classAdmin.html | 2 +- docs/module-doc/classBanItem-members.html | 2 +- docs/module-doc/classBanItem.html | 2 +- docs/module-doc/classConfigReader-members.html | 2 +- docs/module-doc/classConfigReader.html | 2 +- docs/module-doc/classConnectClass-members.html | 2 +- docs/module-doc/classConnectClass.html | 2 +- docs/module-doc/classDNS-members.html | 41 + docs/module-doc/classDNS.html | 893 +++++++++++++++++++++ docs/module-doc/classExemptItem-members.html | 2 +- docs/module-doc/classExemptItem.html | 2 +- docs/module-doc/classExtMode-members.html | 2 +- docs/module-doc/classExtMode.html | 2 +- docs/module-doc/classExtensible-members.html | 2 +- docs/module-doc/classExtensible.html | 2 +- docs/module-doc/classFileReader-members.html | 2 +- docs/module-doc/classFileReader.html | 2 +- docs/module-doc/classGLine-members.html | 2 +- docs/module-doc/classGLine.html | 2 +- docs/module-doc/classHostItem-members.html | 2 +- docs/module-doc/classHostItem.html | 2 +- docs/module-doc/classInviteItem-members.html | 2 +- docs/module-doc/classInviteItem.html | 2 +- docs/module-doc/classInvited-members.html | 2 +- docs/module-doc/classInvited.html | 4 +- docs/module-doc/classKLine-members.html | 2 +- docs/module-doc/classKLine.html | 2 +- docs/module-doc/classModeParameter-members.html | 2 +- docs/module-doc/classModeParameter.html | 2 +- docs/module-doc/classModule-members.html | 2 +- docs/module-doc/classModule.html | 2 +- docs/module-doc/classModuleFactory-members.html | 2 +- docs/module-doc/classModuleFactory.html | 2 +- docs/module-doc/classQLine-members.html | 2 +- docs/module-doc/classQLine.html | 2 +- docs/module-doc/classServer-members.html | 2 +- docs/module-doc/classServer.html | 2 +- docs/module-doc/classVersion-members.html | 2 +- docs/module-doc/classVersion.html | 2 +- docs/module-doc/classXLine-members.html | 2 +- docs/module-doc/classXLine.html | 2 +- docs/module-doc/classZLine-members.html | 2 +- docs/module-doc/classZLine.html | 2 +- docs/module-doc/classchanrec-members.html | 2 +- docs/module-doc/classchanrec.html | 2 +- docs/module-doc/classclassbase-members.html | 2 +- docs/module-doc/classclassbase.html | 2 +- docs/module-doc/classcommand__t-members.html | 2 +- docs/module-doc/classcommand__t.html | 2 +- docs/module-doc/classconnection-members.html | 2 +- docs/module-doc/classconnection.html | 4 +- docs/module-doc/classes.html | 33 +- docs/module-doc/classircd__connector-members.html | 2 +- docs/module-doc/classircd__connector.html | 2 +- docs/module-doc/classpacket-members.html | 2 +- docs/module-doc/classpacket.html | 2 +- docs/module-doc/classserverrec-members.html | 2 +- docs/module-doc/classserverrec.html | 2 +- docs/module-doc/classucrec-members.html | 2 +- docs/module-doc/classucrec.html | 2 +- docs/module-doc/classuserrec-members.html | 3 +- docs/module-doc/classuserrec.html | 266 +++--- docs/module-doc/commands_8h-source.html | 2 +- docs/module-doc/commands_8h.html | 2 +- docs/module-doc/connection_8h-source.html | 2 +- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 2 +- docs/module-doc/ctables_8h.html | 2 +- docs/module-doc/dns_8h-source.html | 77 ++ docs/module-doc/dns_8h.html | 28 + docs/module-doc/files.html | 3 +- docs/module-doc/functions.html | 60 +- docs/module-doc/functions_func.html | 37 +- docs/module-doc/functions_vars.html | 23 +- docs/module-doc/globals.html | 2 +- docs/module-doc/globals_defs.html | 2 +- docs/module-doc/globals_func.html | 2 +- docs/module-doc/globals_type.html | 2 +- docs/module-doc/globals_vars.html | 2 +- docs/module-doc/hierarchy.html | 4 +- docs/module-doc/main.html | 2 +- docs/module-doc/message_8h-source.html | 2 +- docs/module-doc/message_8h.html | 2 +- docs/module-doc/mode_8h-source.html | 2 +- docs/module-doc/mode_8h.html | 2 +- docs/module-doc/modules_8cpp-source.html | 2 +- docs/module-doc/modules_8cpp.html | 2 +- docs/module-doc/modules_8h-source.html | 2 +- docs/module-doc/modules_8h.html | 4 +- docs/module-doc/namespacenspace.html | 2 +- docs/module-doc/namespaces.html | 2 +- docs/module-doc/namespacestd.html | 2 +- docs/module-doc/servers_8cpp-source.html | 2 +- docs/module-doc/servers_8cpp.html | 2 +- docs/module-doc/servers_8h-source.html | 2 +- docs/module-doc/servers_8h.html | 2 +- .../module-doc/structInAddr__HashComp-members.html | 2 +- docs/module-doc/structInAddr__HashComp.html | 2 +- docs/module-doc/structStrHashComp-members.html | 2 +- docs/module-doc/structStrHashComp.html | 2 +- docs/module-doc/structdns__ip4list-members.html | 16 + docs/module-doc/structdns__ip4list.html | 74 ++ ..._1nspace_1_1hash_3_01in__addr_01_4-members.html | 2 +- ...nspace_1_1nspace_1_1hash_3_01in__addr_01_4.html | 2 +- ..._1_1nspace_1_1hash_3_01string_01_4-members.html | 2 +- ...ctnspace_1_1nspace_1_1hash_3_01string_01_4.html | 2 +- docs/module-doc/tree.html | 5 + docs/module-doc/users_8cpp-source.html | 235 +++--- docs/module-doc/users_8cpp.html | 2 +- docs/module-doc/users_8h-source.html | 40 +- docs/module-doc/users_8h.html | 2 +- docs/module-doc/xline_8h-source.html | 2 +- docs/module-doc/xline_8h.html | 2 +- 121 files changed, 1642 insertions(+), 414 deletions(-) create mode 100644 docs/module-doc/classDNS-members.html create mode 100644 docs/module-doc/classDNS.html create mode 100644 docs/module-doc/dns_8h-source.html create mode 100644 docs/module-doc/dns_8h.html create mode 100644 docs/module-doc/structdns__ip4list-members.html create mode 100644 docs/module-doc/structdns__ip4list.html (limited to 'docs/module-doc') diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index b7b437776..a39d7309c 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -14,6 +14,8 @@
1.3.3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index 2b579e73e..6c3fe5c2d 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -55,7 +55,7 @@
00079
00080 #endif
00081
-
1.3.3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index df6319c37..4365b92e9 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -49,7 +49,7 @@
Definition at line 25 of file base.h.
-
1.3.3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index 70440fd36..a70095cd1 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -203,7 +203,7 @@
00196 }
00197 return std::string("");
00198 }
-
1.3.3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index f62f3af20..096f50487 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -291,7 +291,7 @@ Definition at line 94
Definition at line 101 of file channels.cpp.
-Referenced by userrec::HasPermission(). +Referenced by userrec::HasPermission().
@@ -1040,7 +1040,7 @@ Definition at line 84 Definition at line 83 of file channels.cpp. -
1.3.3
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index 172cc08c6..7b0b67194 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -139,7 +139,7 @@
00218
00219 #endif
00220
-
1.3.3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index 79a5649f8..d9e5c891d 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -258,7 +258,7 @@ Holds a complete invite list.
Definition at line 88 of file channels.h.
-
1.3.3
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 6a4bc4744..050bcdf02 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -13,7 +13,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 403c31719..00a7a7b63 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -157,7 +157,7 @@ Definition at line 117 of
1.3.3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index a40b1cd24..62a28ba1c 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -14,7 +14,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index 4183ef1eb..01d380e55 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 45 of file channels.h.
1.3.3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 20baab961..0da3d27c9 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -24,7 +24,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 7d1753f74..7e782ad7b 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -772,7 +772,7 @@ Referenced by ConfigReader(
1.3.3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index 7f3ae7910..852043e6d 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -15,7 +15,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html
index c4b392ab6..c2207f9a2 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -221,7 +221,7 @@ Definition at line 50 of fi
1.3.3
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html
new file mode 100644
index 000000000..ad08da30b
--- /dev/null
+++ b/docs/module-doc/classDNS-members.html
@@ -0,0 +1,41 @@
+
+
+| binip | DNS | [private] |
| DNS() | DNS | |
| DNS(std::string dnsserver) | DNS | |
| dns_aton4(const char *const ipstring) | DNS | [private] |
| dns_aton4_r(const char *const ipstring) | DNS | [private] |
| dns_aton4_s(const char *const ipstring, in_addr *const ip) | DNS | [private] |
| dns_getip4(const char *const name) | DNS | [private] |
| dns_getip4list(const char *const name) | DNS | [private] |
| dns_getname4(const in_addr *const ip) | DNS | [private] |
| dns_getresult(const int fd) | DNS | [private] |
| dns_getresult_r(const int fd) | DNS | [private] |
| dns_getresult_s(const int fd, char *const result) | DNS | [private] |
| dns_init() | DNS | [private] |
| dns_init_2(const char *dnsserver) | DNS | [private] |
| dns_ntoa4(const in_addr *const ip) | DNS | [private] |
| dns_ntoa4_r(const in_addr *const ip) | DNS | [private] |
| dns_ntoa4_s(const in_addr *const ip, char *const result) | DNS | [private] |
| fd | DNS | [private] |
| ForwardLookup(std::string host) | DNS | |
| GetFD() | DNS | |
| GetResult() | DNS | |
| HasResult() | DNS | |
| i | DNS | [private] |
| result | DNS | [private] |
| ReverseLookup(std::string ip) | DNS | |
| t | DNS | [private] |
| ~DNS() | DNS |
+1.3.3
+
+
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html
new file mode 100644
index 000000000..659dea54b
--- /dev/null
+++ b/docs/module-doc/classDNS.html
@@ -0,0 +1,893 @@
+
+
+
+#include <dns.h>
+
Public Member Functions | |
| DNS () | |
| The default constructor uses dns addresses read from /etc/resolv.conf. | |
| DNS (std::string dnsserver) | |
| This constructor accepts a dns server address. | |
| ~DNS () | |
| The destructor frees all used structures. | |
| bool | ReverseLookup (std::string ip) |
| This method will start the reverse lookup of an ip given in dotted decimal format, e.g. | |
| bool | ForwardLookup (std::string host) |
| This method will start the forward lookup of a hostname, e.g. | |
| bool | HasResult () |
| This method will return true when the lookup is completed. | |
| std::string | GetResult () |
| This method returns the result of your query as a string, depending upon wether you called DNS::ReverseLookup() or DNS::ForwardLookup. | |
| int | GetFD () |
| This method returns the file handle used by the dns query socket or zero if the query is invalid for some reason, e.g. | |
Private Member Functions | |
| void | dns_init () |
| void | dns_init_2 (const char *dnsserver) |
| in_addr * | dns_aton4 (const char *const ipstring) |
| char * | dns_ntoa4 (const in_addr *const ip) |
| int | dns_getip4 (const char *const name) |
| int | dns_getip4list (const char *const name) |
| int | dns_getname4 (const in_addr *const ip) |
| char * | dns_getresult (const int fd) |
| in_addr * | dns_aton4_s (const char *const ipstring, in_addr *const ip) |
| char * | dns_ntoa4_s (const in_addr *const ip, char *const result) |
| char * | dns_getresult_s (const int fd, char *const result) |
| in_addr * | dns_aton4_r (const char *const ipstring) |
| char * | dns_ntoa4_r (const in_addr *const ip) |
| char * | dns_getresult_r (const int fd) |
Private Attributes | |
| char * | result |
| in_addr * | binip |
| int | t |
| int | i |
| unsigned int | fd |
+It is based heavily upon firedns by Ian Gulliver. +
+ +
+Definition at line 35 of file dns.h.
+
+
|
+
| + + | +
+
+ +The default constructor uses dns addresses read from /etc/resolv.conf. + +Please note that it will re-read /etc/resolv.conf for each copy of the class you instantiate, causing disk access and slow lookups if you create a lot of them. Consider passing the constructor a server address as a parameter instead. |
+
+
+
|
+
| + + | +
+
+ +This constructor accepts a dns server address. + +The address must be in dotted decimal form, e.g. 1.2.3.4. |
+
+
+
|
+
| + + | +
+
+ +The destructor frees all used structures. + + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+ ||||||||||||
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+ ||||||||||||
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ + |
+
+
+
|
+ ||||||||||||
| + + | +
+
+ + |
+
+
+
|
+
| + + | +
+
+ +This method will start the forward lookup of a hostname, e.g. + +www.inspircd.org, and returns true if the lookup was successfully initiated. |
+
+
+
|
+
| + + | +
+
+ +This method returns the file handle used by the dns query socket or zero if the query is invalid for some reason, e.g. + +the dns server not responding. |
+
+
+
|
+
| + + | +
+
+ +This method returns the result of your query as a string, depending upon wether you called DNS::ReverseLookup() or DNS::ForwardLookup. + + |
+
+
+
|
+
| + + | +
+
+ +This method will return true when the lookup is completed. + +It uses poll internally to determine the status of the socket. |
+
+
+
|
+
| + + | +
+
+ +This method will start the reverse lookup of an ip given in dotted decimal format, e.g. + +1.2.3.4, and returns true if the lookup was successfully initiated. |
+
+
+
|
+
| + + | +
+
+ + + |
+
+
+
|
+
| + + | +
+
+ + + |
+
+
+
|
+
| + + | +
+
+ + + |
+
+
+
|
+
| + + | +
+
+ + + |
+
+
+
|
+
| + + | +
+
+ + + |
+
+1.3.3
+
+
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index d092081ca..7ae97e5be 100644
--- a/docs/module-doc/classExemptItem-members.html
+++ b/docs/module-doc/classExemptItem-members.html
@@ -14,7 +14,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html
index b0d9c82ce..a7297951e 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 53 of file channels.h.
1.3.3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index 8fc8f2cd5..b061a6e0d 100644
--- a/docs/module-doc/classExtMode-members.html
+++ b/docs/module-doc/classExtMode-members.html
@@ -16,7 +16,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html
index e05dcfe90..dd21cbaa5 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -247,7 +247,7 @@ Referenced by ExtMode()
1.3.3
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index 2538417e9..feb904d76 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -13,7 +13,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html
index 9f13de16e..ba2427a5c 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -170,7 +170,7 @@ Definition at line 54 of fil
1.3.3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index 8c4ad0498..cb7eeb7a9 100644
--- a/docs/module-doc/classFileReader-members.html
+++ b/docs/module-doc/classFileReader-members.html
@@ -17,7 +17,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html
index 5946a05bd..460fb43cf 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -361,7 +361,7 @@ Referenced by Exists(),
1.3.3
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html
index 6e5a3a953..00cbfee28 100644
--- a/docs/module-doc/classGLine-members.html
+++ b/docs/module-doc/classGLine-members.html
@@ -15,7 +15,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html
index 7807b5521..3243ce6c3 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -53,7 +53,7 @@ Definition at line 79 of fi
1.3.3
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index fbfa88a7d..42b7c10f0 100644
--- a/docs/module-doc/classHostItem-members.html
+++ b/docs/module-doc/classHostItem-members.html
@@ -14,7 +14,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html
index 4fe3c5c7f..46c62d7b4 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -178,7 +178,7 @@ Definition at line 32 of
1.3.3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index d03ff8f13..7fb108ea0 100644
--- a/docs/module-doc/classInviteItem-members.html
+++ b/docs/module-doc/classInviteItem-members.html
@@ -14,7 +14,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html
index 0c016a8ee..588adcc8d 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 61 of file channels.h.
1.3.3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 277de4e36..9ef558288 100644
--- a/docs/module-doc/classInvited-members.html
+++ b/docs/module-doc/classInvited-members.html
@@ -10,7 +10,7 @@
[inline] [inline]
1.3.3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html
index bcced83fa..12e4205e7 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -47,12 +47,12 @@ Definition at line 36 of fi
Definition at line 39 of file users.h.
-Referenced by userrec::InviteTo(). +Referenced by userrec::InviteTo().
1.3.3
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 6661c6f53..ee2c186f8 100644
--- a/docs/module-doc/classKLine-members.html
+++ b/docs/module-doc/classKLine-members.html
@@ -15,7 +15,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html
index 70a5960a2..fd5149c8b 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -53,7 +53,7 @@ Definition at line 68 of fi
1.3.3
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index dec115b76..ab2164bbe 100644
--- a/docs/module-doc/classModeParameter-members.html
+++ b/docs/module-doc/classModeParameter-members.html
@@ -12,7 +12,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html
index 455853ffc..7c658b5db 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -110,7 +110,7 @@ Referenced by chanrec::Set
1.3.3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html
index de4846ebd..622e716dd 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -35,7 +35,7 @@
[virtual] [inline] [virtual]
1.3.3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html
index 77faa7fb8..a10ce0a29 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -1259,7 +1259,7 @@ Definition at line 319
1.3.3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index 85e352377..f7f87794e 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -12,7 +12,7 @@
[inline] [inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index 0f99e84b9..4d7ca63ff 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h
-
1.3.3
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html
index 0ee019a8f..53b58a6d9 100644
--- a/docs/module-doc/classQLine-members.html
+++ b/docs/module-doc/classQLine-members.html
@@ -16,7 +16,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html
index ef942cfdd..5d69e90a6 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -82,7 +82,7 @@ Definition at line 105 of f
1.3.3
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html
index 0699637a1..1ff9237da 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -45,7 +45,7 @@
[inline] [virtual]
1.3.3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index 1ba57adea..f99f9bf56 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -1910,7 +1910,7 @@ Definition at line 485
1.3.3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html
index 73f9b65b3..0e8d709cb 100644
--- a/docs/module-doc/classVersion-members.html
+++ b/docs/module-doc/classVersion-members.html
@@ -14,7 +14,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index 714f17838..1e4926a2e 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -189,7 +189,7 @@ Definition at line 105 of
1.3.3
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index 66b260d73..3c74d5900 100644
--- a/docs/module-doc/classXLine-members.html
+++ b/docs/module-doc/classXLine-members.html
@@ -14,7 +14,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 1cdc782cd..671da7549 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -171,7 +171,7 @@ Definition at line 48 of fi
1.3.3
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index ab7a71ebc..a389cacf9 100644
--- a/docs/module-doc/classZLine-members.html
+++ b/docs/module-doc/classZLine-members.html
@@ -16,7 +16,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index 5cacd6f53..fe72d8fdf 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -82,7 +82,7 @@ Definition at line 94 of fi
1.3.3
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index f42b9d0dd..07cb91143 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -33,7 +33,7 @@
[inline, virtual] [inline]
1.3.3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index 7cabfa142..ead7ab3bf 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -829,7 +829,7 @@ Referenced by chanrec()
1.3.3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index 4808e02ed..39fd05f00 100644
--- a/docs/module-doc/classclassbase-members.html
+++ b/docs/module-doc/classclassbase-members.html
@@ -9,7 +9,7 @@
[inline] [inline]
1.3.3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index 9e55f541b..e22f3d99b 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -132,7 +132,7 @@ Referenced by classbase().
1.3.3
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html
index 8ff8926b3..35f2d7bfa 100644
--- a/docs/module-doc/classcommand__t-members.html
+++ b/docs/module-doc/classcommand__t-members.html
@@ -18,7 +18,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html
index fcd064499..2496e353a 100644
--- a/docs/module-doc/classcommand__t.html
+++ b/docs/module-doc/classcommand__t.html
@@ -198,7 +198,7 @@ Definition at line 43 of
1.3.3
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html
index 06b1dc2e0..9e5b261eb 100644
--- a/docs/module-doc/classconnection-members.html
+++ b/docs/module-doc/classconnection-members.html
@@ -41,7 +41,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html
index 6a1743731..57e902e8f 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -731,7 +731,7 @@ Not used if this is a serverrec
Definition at line 182 of file connection.h.
-Referenced by userrec::GetFullRealHost(), and userrec::userrec(). +Referenced by userrec::GetFullRealHost(), and userrec::userrec().
@@ -1038,7 +1038,7 @@ Definition at line 224
1.3.3
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html
index a298d2f80..6bae22e2d 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -7,24 +7,25 @@
|
| InAddr_HashComp |
| StrHashComp | |||||
| Admin | ExemptItem | Invited | nspace::hash< in_addr > (nspace) |
| |||||
| Extensible | InviteItem | nspace::hash< string > (nspace) | ucrec | |||||
| BanItem | ExtMode | ircd_connector |
| userrec | |||||
|
|
|
| Module | serverrec | ||||
| Admin | DNS | HostItem | ModuleFactory | StrHashComp | |||||
| dns_ip4list |
|
|
| |||||
| BanItem |
| InAddr_HashComp | nspace::hash< in_addr > (nspace) | ucrec | |||||
| ExemptItem | Invited | nspace::hash< string > (nspace) | userrec | |||||
| chanrec | Extensible | InviteItem |
|
| |||||
| classbase | ExtMode | ircd_connector | packet | Version | |||||
| command_t |
|
| packet |
| |||||
| chanrec | FileReader | KLine |
| Version | |||||
| classbase |
|
|
| ||||||
| ConfigReader | FileReader | KLine | QLine | XLine | |||||
| ConnectClass |
|
| QLine |
| |||||
| command_t | GLine | ModeParameter |
| XLine | |||||
| ConfigReader |
| Module | Server |
| |||||
| ConnectClass | HostItem | ModuleFactory | serverrec | ZLine | |||||
| connection |
|
S |
Z |
1.3.3
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html
index f1e78f2c3..d6222ebc8 100644
--- a/docs/module-doc/classircd__connector-members.html
+++ b/docs/module-doc/classircd__connector-members.html
@@ -35,7 +35,7 @@
[private] [inline]
1.3.3
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html
index 8fea767dd..0cf1f062b 100644
--- a/docs/module-doc/classircd__connector.html
+++ b/docs/module-doc/classircd__connector.html
@@ -792,7 +792,7 @@ Definition at line 75
1.3.3
diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html
index 8cc004a2b..33f942840 100644
--- a/docs/module-doc/classpacket-members.html
+++ b/docs/module-doc/classpacket-members.html
@@ -9,7 +9,7 @@
[inline] [inline]
1.3.3
diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html
index 58525746f..4dea5d915 100644
--- a/docs/module-doc/classpacket.html
+++ b/docs/module-doc/classpacket.html
@@ -24,7 +24,7 @@ This declaration is preserved here to maintain documentation only.
Definition at line 167 of file connection.h.
1.3.3
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html
index e9f90e3a1..d385c5516 100644
--- a/docs/module-doc/classserverrec-members.html
+++ b/docs/module-doc/classserverrec-members.html
@@ -55,7 +55,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html
index cf4e2727d..46db0c244 100644
--- a/docs/module-doc/classserverrec.html
+++ b/docs/module-doc/classserverrec.html
@@ -519,7 +519,7 @@ Referenced by serverrec()
1.3.3
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html
index 68e697285..408b6ca8c 100644
--- a/docs/module-doc/classucrec-members.html
+++ b/docs/module-doc/classucrec-members.html
@@ -13,7 +13,7 @@
[inline] [inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html
index 7e3628b5a..ff52338c9 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -160,7 +160,7 @@ Referenced by userrec::userre
1.3.3
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html
index ecc926cbf..0544bab85 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -20,6 +20,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 1ca6025f2..92061165c 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -73,6 +73,9 @@ Inherits connection.
Definition at line 26 of file users.cpp.
-References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, timeout, and ucrec::uc_modes. +References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, timeout, and ucrec::uc_modes.
00027 {
00028 // the PROPER way to do it, AVOID bzero at *ALL* costs
@@ -134,14 +137,15 @@ References awaymsg, fd = lastping = signon = idle_lastmsg = nping = registered = 0;
00042 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
00043 haspassed = false;
-00044 strcpy(result,"");
-00045 for (int i = 0; i < MAXCHANS; i++)
-00046 {
-00047 this->chans[i].channel = NULL;
-00048 this->chans[i].uc_modes = 0;
-00049 }
-00050 invites.clear();
-00051 }
+00044 dns_done = false;
+00045 strcpy(result,"");
+00046 for (int i = 0; i < MAXCHANS; i++)
+00047 {
+00048 this->chans[i].channel = NULL;
+00049 this->chans[i].uc_modes = 0;
+00050 }
+00051 invites.clear();
+00052 }
-Definition at line 160 of file users.h. +Definition at line 164 of file users.h.
-
00160 { }
+00164 { }
@@ -208,14 +212,14 @@ Returns the full displayed host of the user This member function returns the hos
-Definition at line 55 of file users.cpp.
+Definition at line 56 of file users.cpp.
References dhost, ident, nick, and result.
-
00056 {
-00057 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
-00058 return result;
-00059 }
+00057 {
+00058 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
+00059 return result;
+00060 }
@@ -248,14 +252,14 @@ Returns the full real host of the user This member function returns the hostname
If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.
-Definition at line 62 of file users.cpp.
+Definition at line 63 of file users.cpp.
References connection::host, ident, nick, and result.
-
00063 {
-00064 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
-00065 return result;
-00066 }
+00064 {
+00065 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
+00066 return result;
+00067 }
@@ -289,60 +293,60 @@ Returns true or false for if a user can execute a privilaged oper command.
This is done by looking up their oper type from userrec::oper, then referencing this to their oper classes and checking the commands they can execute.
-Definition at line 111 of file users.cpp.
+Definition at line 112 of file users.cpp.
References config_f, and DEBUG.
-
00112 {
-00113 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00114 char* myclass;
-00115 char* mycmd;
-00116 char* savept;
-00117 char* savept2;
-00118
-00119 // are they even an oper at all?
-00120 if (strchr(this->modes,'o'))
-00121 {
-00122 log(DEBUG,"*** HasPermission: %s is an oper",this->nick);
-00123 for (int j =0; j < ConfValueEnum("type",&config_f); j++)
-00124 {
-00125 ConfValue("type","name",j,TypeName,&config_f);
-00126 if (!strcmp(TypeName,this->oper))
-00127 {
-00128 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
-00129 ConfValue("type","classes",j,Classes,&config_f);
-00130 char* myclass = strtok_r(Classes," ",&savept);
-00131 while (myclass)
-00132 {
-00133 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
-00134 for (int k =0; k < ConfValueEnum("class",&config_f); k++)
-00135 {
-00136 ConfValue("class","name",k,ClassName,&config_f);
-00137 if (!strcmp(ClassName,myclass))
-00138 {
-00139 ConfValue("class","commands",k,CommandList,&config_f);
-00140 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList);
-00141
+00113 {
+00114 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00115 char* myclass;
+00116 char* mycmd;
+00117 char* savept;
+00118 char* savept2;
+00119
+00120 // are they even an oper at all?
+00121 if (strchr(this->modes,'o'))
+00122 {
+00123 log(DEBUG,"*** HasPermission: %s is an oper",this->nick);
+00124 for (int j =0; j < ConfValueEnum("type",&config_f); j++)
+00125 {
+00126 ConfValue("type","name",j,TypeName,&config_f);
+00127 if (!strcmp(TypeName,this->oper))
+00128 {
+00129 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
+00130 ConfValue("type","classes",j,Classes,&config_f);
+00131 char* myclass = strtok_r(Classes," ",&savept);
+00132 while (myclass)
+00133 {
+00134 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
+00135 for (int k =0; k < ConfValueEnum("class",&config_f); k++)
+00136 {
+00137 ConfValue("class","name",k,ClassName,&config_f);
+00138 if (!strcmp(ClassName,myclass))
+00139 {
+00140 ConfValue("class","commands",k,CommandList,&config_f);
+00141 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList);
00142
-00143 mycmd = strtok_r(CommandList," ",&savept2);
-00144 while (mycmd)
-00145 {
-00146 if (!strcasecmp(mycmd,command))
-00147 {
-00148 log(DEBUG,"*** Command %s found, returning true",command);
-00149 return true;
-00150 }
-00151 mycmd = strtok_r(NULL," ",&savept2);
-00152 }
-00153 }
-00154 }
-00155 myclass = strtok_r(NULL," ",&savept);
-00156 }
-00157 }
-00158 }
-00159 }
-00160 return false;
-00161 }
+00143
+00144 mycmd = strtok_r(CommandList," ",&savept2);
+00145 while (mycmd)
+00146 {
+00147 if (!strcasecmp(mycmd,command))
+00148 {
+00149 log(DEBUG,"*** Command %s found, returning true",command);
+00150 return true;
+00151 }
+00152 mycmd = strtok_r(NULL," ",&savept2);
+00153 }
+00154 }
+00155 }
+00156 myclass = strtok_r(NULL," ",&savept);
+00157 }
+00158 }
+00159 }
+00160 }
+00161 return false;
+00162 }
@@ -376,15 +380,15 @@ Adds a channel to a users invite list (invites them to a channel).
-Definition at line 82 of file users.cpp.
+Definition at line 83 of file users.cpp.
References Invited::channel, and invites.
-
00083 {
-00084 Invited i;
-00085 strlcpy(i.channel,channel,CHANMAX);
-00086 invites.push_back(i);
-00087 }
+00084 {
+00085 Invited i;
+00086 strlcpy(i.channel,channel,CHANMAX);
+00087 invites.push_back(i);
+00088 }
@@ -418,22 +422,22 @@ Returns true if a user is invited to a channel.
-Definition at line 68 of file users.cpp.
+Definition at line 69 of file users.cpp.
References invites.
-
00069 {
-00070 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00071 {
-00072 if (i->channel) {
-00073 if (!strcasecmp(i->channel,channel))
-00074 {
-00075 return true;
-00076 }
-00077 }
-00078 }
-00079 return false;
-00080 }
+00070 {
+00071 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00072 {
+00073 if (i->channel) {
+00074 if (!strcasecmp(i->channel,channel))
+00075 {
+00076 return true;
+00077 }
+00078 }
+00079 }
+00080 return false;
+00081 }
@@ -467,30 +471,30 @@ Removes a channel from a users invite list.
This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
-Definition at line 89 of file users.cpp.
+Definition at line 90 of file users.cpp.
References DEBUG, and invites.
-
00090 {
-00091 log(DEBUG,"Removing invites");
-00092 if (channel)
-00093 {
-00094 if (invites.size())
-00095 {
-00096 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00097 {
-00098 if (i->channel)
-00099 {
-00100 if (!strcasecmp(i->channel,channel))
-00101 {
-00102 invites.erase(i);
-00103 return;
-00104 }
-00105 }
-00106 }
-00107 }
-00108 }
-00109 }
+00091 {
+00092 log(DEBUG,"Removing invites");
+00093 if (channel)
+00094 {
+00095 if (invites.size())
+00096 {
+00097 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00098 {
+00099 if (i->channel)
+00100 {
+00101 if (!strcasecmp(i->channel,channel))
+00102 {
+00103 invites.erase(i);
+00104 return;
+00105 }
+00106 }
+00107 }
+00108 }
+00109 }
+00110 }
@@ -574,7 +578,35 @@ This usually matches the value of u
Definition at line 111 of file users.h.
-Referenced by GetFullHost(), and userrec().
+Referenced by GetFullHost(), and userrec().
+
+
+
+
+
+
+
+
+ bool userrec::dns_done
+
+
+
+
+
+
+
+
+
+
+
+
+True when DNS lookups are completed.
+
+
+
+Definition at line 160 of file users.h.
+
+Referenced by userrec().
@@ -658,7 +690,7 @@ The users ident reply.
Definition at line 106 of file users.h.
-Referenced by GetFullHost(), GetFullRealHost(), and userrec().
+Referenced by GetFullHost(), GetFullRealHost(), and userrec().
@@ -686,7 +718,7 @@ A list of channels the user has a pending invite to.
Definition at line 95 of file users.h.
-Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().
+Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().
@@ -742,7 +774,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma
Definition at line 102 of file users.h.
-Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::QuitUser(), and userrec().
+Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::QuitUser(), and userrec().
@@ -798,7 +830,7 @@ You may use this to increase the speed of use of this class.
Definition at line 137 of file users.h.
-Referenced by GetFullHost(), GetFullRealHost(), and userrec().
+Referenced by GetFullHost(), GetFullRealHost(), and userrec().
@@ -859,7 +891,7 @@ Referenced by userrec().
The documentation for this class was generated from the following files:
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:07 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index 7e7fe4af0..0d510681e 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -113,7 +113,7 @@
00114 bool is_uline(const char* server);
00115
00116 #endif
-
Generated on Mon Mar 28 21:09:24 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:01 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html
index bb4c3ff1e..2d226d8c3 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -3619,7 +3619,7 @@ Referenced by Server::IsUli
-
Generated on Mon Mar 28 21:09:27 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:02 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index 392a25536..967461256 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -168,7 +168,7 @@
00300
00301 #endif
00302
-
Generated on Mon Mar 28 21:09:24 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:01 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html
index dd22d1cba..f8376a84f 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -191,7 +191,7 @@ Definition at line 39
Definition at line 36 of file connection.h.
-
Generated on Mon Mar 28 21:09:27 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:02 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index 194a347e3..4fdac2e1c 100644
--- a/docs/module-doc/ctables_8h-source.html
+++ b/docs/module-doc/ctables_8h-source.html
@@ -41,7 +41,7 @@
00048
00049 #endif
00050
-
Generated on Mon Mar 28 21:09:24 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:01 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html
index 17edc9eed..cfbcba959 100644
--- a/docs/module-doc/ctables_8h.html
+++ b/docs/module-doc/ctables_8h.html
@@ -17,7 +17,7 @@
A structure that defines a command. More...
-
Generated on Mon Mar 28 21:09:27 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:02 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
new file mode 100644
index 000000000..150054e43
--- /dev/null
+++ b/docs/module-doc/dns_8h-source.html
@@ -0,0 +1,77 @@
+
+
+InspIRCd: dns.h Source File
+
+
+
+Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
+dns.h
Go to the documentation of this file.00001 /*
+00002 dns.h - dns library declarations based on firedns Copyright (C) 2002 Ian Gulliver
+00003
+00004 This program is free software; you can redistribute it and/or modify
+00005 it under the terms of version 2 of the GNU General Public License as
+00006 published by the Free Software Foundation.
+00007
+00008 This program is distributed in the hope that it will be useful,
+00009 but WITHOUT ANY WARRANTY; without even the implied warranty of
+00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+00011 GNU General Public License for more details.
+00012
+00013 You should have received a copy of the GNU General Public License
+00014 along with this program; if not, write to the Free Software
+00015 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+00016 */
+00017
+00018 #ifndef _DNS_H
+00019 #define _DNS_H
+00020
+00021 #include <sys/types.h>
+00022 #include <sys/socket.h>
+00023 #include <netinet/in.h>
+00024 #include <string>
+00025
+00026 struct dns_ip4list {
+00027 in_addr ip;
+00028 dns_ip4list *next;
+00029 };
+00030
+00031
+00035 class DNS
+00036 {
+00037 private:
+00038 char *result;
+00039 in_addr *binip;
+00040 int t,i;
+00041 void dns_init();
+00042 unsigned int fd;
+00043 void dns_init_2(const char* dnsserver);
+00044 in_addr *dns_aton4(const char * const ipstring);
+00045 char *dns_ntoa4(const in_addr * const ip);
+00046 int dns_getip4(const char * const name);
+00047 int dns_getip4list(const char * const name);
+00048 int dns_getname4(const in_addr * const ip);
+00049 char *dns_getresult(const int fd);
+00050 in_addr *dns_aton4_s(const char * const ipstring, in_addr * const ip);
+00051 char *dns_ntoa4_s(const in_addr * const ip, char * const result);
+00052 char *dns_getresult_s(const int fd, char * const result);
+00053 in_addr *dns_aton4_r(const char * const ipstring);
+00054 char *dns_ntoa4_r(const in_addr * const ip);
+00055 char *dns_getresult_r(const int fd);
+00056 public:
+00063 DNS();
+00067 DNS(std::string dnsserver);
+00070 ~DNS();
+00075 bool ReverseLookup(std::string ip);
+00079 bool ForwardLookup(std::string host);
+00083 bool HasResult();
+00087 std::string GetResult();
+00091 int GetFD();
+00092 };
+00093
+00094 #endif
+
Generated on Sat Apr 2 19:27:01 2005 for InspIRCd by
+
+
+1.3.3
+
+
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html
new file mode 100644
index 000000000..eb3e96120
--- /dev/null
+++ b/docs/module-doc/dns_8h.html
@@ -0,0 +1,28 @@
+
+
+InspIRCd: dns.h File Reference
+
+
+
+Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
+dns.h File Reference
#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <string>
+
+
+Go to the source code of this file.
+
+
Compounds
+class DNS
+
+ The DNS class allows fast nonblocking resolution of hostnames and ip addresses. More...
+struct dns_ip4list
+
+
+
Generated on Sat Apr 2 19:27:02 2005 for InspIRCd by
+
+
+1.3.3
+
+
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html
index b69ab8557..85c6906fc 100644
--- a/docs/module-doc/files.html
+++ b/docs/module-doc/files.html
@@ -12,6 +12,7 @@
commands.h [code]
connection.h [code]
ctables.h [code]
+ dns.h [code]
message.h [code]
mode.h [code]
modules.cpp [code]
@@ -22,7 +23,7 @@
users.h [code]
xline.h [code]
-
Generated on Mon Mar 28 21:09:23 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:00 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html
index 770c9e991..af08ab6e5 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -26,7 +26,8 @@ Here is a list of all class members with links to the classes they belong to:
- bans
: chanrec
- BeginLink()
-: connection
- Build
+: connection
- binip
+: DNS
- Build
: Version
- bytes_in
: connection
- bytes_out
: connection
@@ -63,7 +64,23 @@ Here is a list of all class members with links to the classes they belong to:data
: HostItem
description
: serverrec, ircd_connector dhost
-: userrec DumpErrors()
+: userrec DNS()
+: DNS dns_aton4()
+: DNS dns_aton4_r()
+: DNS dns_aton4_s()
+: DNS dns_done
+: userrec dns_getip4()
+: DNS dns_getip4list()
+: DNS dns_getname4()
+: DNS dns_getresult()
+: DNS dns_getresult_r()
+: DNS dns_getresult_s()
+: DNS dns_init()
+: DNS dns_init_2()
+: DNS dns_ntoa4()
+: DNS dns_ntoa4_r()
+: DNS dns_ntoa4_s()
+: DNS DumpErrors()
: ConfigReader duration
: XLine
- e -
@@ -82,14 +99,15 @@ Here is a list of all class members with links to the classes they belong to:
- fc
: FileReader
- fd
-: connection, ircd_connector
- FileReader()
+: DNS, connection, ircd_connector
- FileReader()
: FileReader
- FileSize()
: FileReader
- FindChannel()
: Server
- FindHost()
: connection
- FindNick()
: Server
- flags_needed
: command_t
- flood
-: userrec, ConnectClass
- fullname
+: userrec, ConnectClass
- ForwardLookup()
+: DNS
- fullname
: userrec
- g -
@@ -99,12 +117,14 @@ Here is a list of all class members with links to the classes they belong to:ircd_connector
- GetDescriptor()
: ircd_connector
- GetError()
: ConfigReader
- GetExt()
-: Extensible
- GetFullHost()
+: Extensible
- GetFD()
+: DNS
- GetFullHost()
: userrec
- GetFullRealHost()
: userrec
- GetLine()
: FileReader
- GetModeParameter()
: chanrec
- GetNetworkName()
-: Server
- GetServerIP()
+: Server
- GetResult()
+: DNS
- GetServerIP()
: ircd_connector
- GetServerName()
: Server, ircd_connector
- GetServerPort()
: ircd_connector
- GetState()
@@ -116,14 +136,16 @@ Here is a list of all class members with links to the classes they belong to:
handler_function
: command_t
- haspassed
: connection
- HasPermission()
-: userrec
- hops_away
+: userrec
- HasResult()
+: DNS
- hops_away
: serverrec
- host
: ConnectClass, connection, ircd_connector
- HostItem()
: HostItem
- hostmask
: GLine, KLine
- i -
-- ident
+
- i
+: DNS
- ident
: userrec
- idle_lastmsg
: connection
- inbuf
: connection
- internal_addr
@@ -132,7 +154,7 @@ Here is a list of all class members with links to the classes they belong to:
chanrec
- invites
: userrec
- InviteTo()
: userrec
- ip
-: connection
- ipaddr
+: dns_ip4list, connection
- ipaddr
: ZLine
- is_global
: QLine, ZLine
- IsCustomModeSet()
: chanrec
- IsInvited()
@@ -178,7 +200,8 @@ Here is a list of all class members with links to the classes they belong to:
XLine
- Name
: Admin
- name
: serverrec, chanrec
- needsoper
-: ExtMode
- Nick
+: ExtMode
- next
+: dns_ip4list
- Nick
: Admin
- nick
: QLine, userrec
- nickserv
: serverrec
- noexternal
@@ -239,7 +262,8 @@ Here is a list of all class members with links to the classes they belong to:
connection
- registration_timeout
: ConnectClass
- RemoveInvite()
: userrec
- result
-: userrec
- Revision
+: userrec, DNS
- ReverseLookup()
+: DNS
- Revision
: Version
- routes
: ircd_connector
- s -
@@ -280,7 +304,8 @@ Here is a list of all class members with links to the classes they belong to:serverrec
- t -
-- TerminateLink()
+
- t
+: DNS
- TerminateLink()
: connection
- timeout
: userrec
- topic
: chanrec
- topiclock
@@ -300,15 +325,16 @@ Here is a list of all class members with links to the classes they belong to:
- v -
- Verify()
-: ConfigReader
- Version()
-: Version
- version
-: serverrec
+: ConfigReader - version
+: serverrec
- Version()
+: Version
- ~ -
- ~chanrec()
: chanrec
- ~classbase()
: classbase
- ~ConfigReader()
-: ConfigReader
- ~FileReader()
+: ConfigReader
- ~DNS()
+: DNS
- ~FileReader()
: FileReader
- ~HostItem()
: HostItem
- ~Module()
: Module
- ~ModuleFactory()
@@ -317,7 +343,7 @@ Here is a list of all class members with links to the classes they belong to:
serverrec
- ~ucrec()
: ucrec
- ~userrec()
: userrec
-
Generated on Mon Mar 28 21:09:29 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:03 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html
index bf68a482e..1343a592d 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -43,7 +43,22 @@
: ModuleFactory
- d -
-- DumpErrors()
+
- DNS()
+: DNS
- dns_aton4()
+: DNS
- dns_aton4_r()
+: DNS
- dns_aton4_s()
+: DNS
- dns_getip4()
+: DNS
- dns_getip4list()
+: DNS
- dns_getname4()
+: DNS
- dns_getresult()
+: DNS
- dns_getresult_r()
+: DNS
- dns_getresult_s()
+: DNS
- dns_init()
+: DNS
- dns_init_2()
+: DNS
- dns_ntoa4()
+: DNS
- dns_ntoa4_r()
+: DNS
- dns_ntoa4_s()
+: DNS
- DumpErrors()
: ConfigReader
- e -
@@ -60,7 +75,8 @@
: FileReader- FindChannel()
: Server
- FindHost()
: connection
- FindNick()
-: Server
+: ServerForwardLookup()
+: DNS
- g -
- GenKey()
@@ -69,12 +85,14 @@
: ircd_connector
- GetDescriptor()
: ircd_connector
- GetError()
: ConfigReader
- GetExt()
-: Extensible
- GetFullHost()
+: Extensible
- GetFD()
+: DNS
- GetFullHost()
: userrec
- GetFullRealHost()
: userrec
- GetLine()
: FileReader
- GetModeParameter()
: chanrec
- GetNetworkName()
-: Server
- GetServerIP()
+: Server
- GetResult()
+: DNS
- GetServerIP()
: ircd_connector
- GetServerName()
: Server, ircd_connector
- GetServerPort()
: ircd_connector
- GetState()
@@ -84,7 +102,8 @@
- h -
- i -
@@ -154,7 +173,8 @@
: ConfigReader- ReadValue()
: ConfigReader
- RecvPacket()
: connection
- RemoveInvite()
-: userrec
+: userrec - ReverseLookup()
+: DNS
- s -
- Send()
@@ -200,7 +220,8 @@
- ~chanrec()
: chanrec
- ~classbase()
: classbase
- ~ConfigReader()
-: ConfigReader
- ~FileReader()
+: ConfigReader
- ~DNS()
+: DNS
- ~FileReader()
: FileReader
- ~HostItem()
: HostItem
- ~Module()
: Module
- ~ModuleFactory()
@@ -209,7 +230,7 @@
: serverrec
- ~ucrec()
: ucrec
- ~userrec()
: userrec
-
Generated on Mon Mar 28 21:09:29 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:03 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html
index a0ce38b35..d0a4959ae 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -20,7 +20,8 @@
- b -
- bans
-: chanrec
- Build
+: chanrec
- binip
+: DNS
- Build
: Version
- bytes_in
: connection
- bytes_out
: connection
@@ -42,7 +43,8 @@
data
: HostItem description
: serverrec, ircd_connector dhost
-: userrec duration
+: userrec dns_done
+: userrec duration
: XLine
- e -
@@ -55,7 +57,7 @@
- fc
: FileReader
- fd
-: connection, ircd_connector
- flags_needed
+: DNS, connection, ircd_connector
- flags_needed
: command_t
- flood
: userrec, ConnectClass
- fullname
: userrec
@@ -69,7 +71,8 @@
: GLine, KLine
- i -
-- ident
+
- i
+: DNS
- ident
: userrec
- idle_lastmsg
: connection
- inbuf
: connection
- internal_addr
@@ -77,7 +80,7 @@
: connection
- inviteonly
: chanrec
- invites
: userrec
- ip
-: connection
- ipaddr
+: dns_ip4list, connection
- ipaddr
: ZLine
- is_global
: QLine, ZLine
- j -
@@ -110,7 +113,8 @@
: XLine
Name
: Admin name
: serverrec, chanrec needsoper
-: ExtMode Nick
+: ExtMode next
+: dns_ip4list Nick
: Admin nick
: QLine, userrec nickserv
: serverrec noexternal
@@ -137,7 +141,7 @@
: XLine registered
: connection registration_timeout
: ConnectClass result
-: userrec Revision
+: userrec, DNS Revision
: Version routes
: ircd_connector
- s -
@@ -155,7 +159,8 @@
: serverrec
- t -
- version
: serverrec
-
Generated on Mon Mar 28 21:09:29 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:03 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html
index 8b5aec650..dcdc4f88a 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -320,7 +320,7 @@ Here is a list of all file members with links to the files they belong to:zline_make_global()
: xline.h
zline_set_creation_time()
: xline.h
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html
index 6a1565b79..3e5ca617c 100644
--- a/docs/module-doc/globals_defs.html
+++ b/docs/module-doc/globals_defs.html
@@ -87,7 +87,7 @@
- VERBOSE
: modules.h
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html
index c4b98b168..73514aae8 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -203,7 +203,7 @@
zline_make_global()
: xline.h zline_set_creation_time()
: xline.h
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html
index ec9c4ce13..60912caf5 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -26,7 +26,7 @@
: modules.huser_hash
: modules.cpp VoidPointer
: base.h
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html
index cedf26b75..47abb81ca 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -101,7 +101,7 @@
: modules.cppWHOWAS_MAX
: modules.cpp, channels.cpp WHOWAS_STALE
: modules.cpp, channels.cpp
-
Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html
index 4dd573d83..0fa7d730b 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -46,12 +46,14 @@
ZLine
+ DNS
+ dns_ip4list
InAddr_HashComp
nspace::hash< in_addr >
nspace::hash< string >
StrHashComp
-
Generated on Mon Mar 28 21:09:29 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:03 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html
index 2b0767bc6..eb5d41b9d 100644
--- a/docs/module-doc/main.html
+++ b/docs/module-doc/main.html
@@ -7,7 +7,7 @@
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
InspIRCd Documentation
-
Generated on Mon Mar 28 21:09:23 2005 for InspIRCd by
+
Generated on Sat Apr 2 19:27:00 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html
index 428089429..84d328fee 100644
--- a/docs/module-doc/message_8h-source.html
+++ b/docs/module-doc/message_8h-source.html
@@ -57,7 +57,7 @@
00050 void send_network_quit(const char* nick, const char* reason);
00051
00052 #endif
-
1.3.3
diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html
index bd8546e2b..a33dee092 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -735,7 +735,7 @@ Referenced by Server::QuitU
-
1.3.3
diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 197115a66..67a5190f5 100644
--- a/docs/module-doc/mode_8h-source.html
+++ b/docs/module-doc/mode_8h-source.html
@@ -53,7 +53,7 @@
00046
00047
00048 #endif
-
1.3.3
diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html
index 526912537..96fdf232e 100644
--- a/docs/module-doc/mode_8h.html
+++ b/docs/module-doc/mode_8h.html
@@ -788,7 +788,7 @@
-
1.3.3
diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index 27f88fd1a..a2703b95e 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -780,7 +780,7 @@
00773 int MODCOUNT = -1;
00774
00775
-
1.3.3
diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index de3bd38eb..6ebc61ef2 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -1868,7 +1868,7 @@ Definition at line 85 o
Definition at line 84 of file modules.cpp.
-
1.3.3
diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index 85ac91a38..bf7b33764 100644
--- a/docs/module-doc/modules_8h-source.html
+++ b/docs/module-doc/modules_8h-source.html
@@ -291,7 +291,7 @@
00826 typedef DLLFactory<ModuleFactory> ircd_module;
00827
00828 #endif
-
1.3.3
diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html
index e6666c08a..97ae37e03 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -525,7 +525,7 @@ Referenced by ConfigReader:
Definition at line 23 of file modules.h.
-Referenced by Server::AddExtendedMode(), userrec::HasPermission(), chanrec::IsCustomModeSet(), ModeDefined(), ModeDefinedOper(), ModeIsListMode(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam(). +Referenced by Server::AddExtendedMode(), userrec::HasPermission(), chanrec::IsCustomModeSet(), ModeDefined(), ModeDefinedOper(), ModeIsListMode(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam().
@@ -970,7 +970,7 @@ Referenced by Server::AddCo Referenced by Server::SendMode(). -
1.3.3
diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html
index f5af56296..014ca9eec 100644
--- a/docs/module-doc/namespacenspace.html
+++ b/docs/module-doc/namespacenspace.html
@@ -15,7 +15,7 @@
1.3.3
diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html
index 315e47302..7e85c3917 100644
--- a/docs/module-doc/namespaces.html
+++ b/docs/module-doc/namespaces.html
@@ -9,7 +9,7 @@
1.3.3
diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html
index 1dc3399d0..b46008528 100644
--- a/docs/module-doc/namespacestd.html
+++ b/docs/module-doc/namespacestd.html
@@ -10,7 +10,7 @@
1.3.3
diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html
index 2eae27b8e..981320c6c 100644
--- a/docs/module-doc/servers_8cpp-source.html
+++ b/docs/module-doc/servers_8cpp-source.html
@@ -61,7 +61,7 @@
00054 strlcpy(nickserv,"",NICKMAX);
00055 }
00056
-
1.3.3
diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html
index 28c74e4c3..57a0d2aa3 100644
--- a/docs/module-doc/servers_8cpp.html
+++ b/docs/module-doc/servers_8cpp.html
@@ -16,7 +16,7 @@
Go to the source code of this file.
1.3.3
diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html
index 4234ca289..0f62a5074 100644
--- a/docs/module-doc/servers_8h-source.html
+++ b/docs/module-doc/servers_8h-source.html
@@ -61,7 +61,7 @@
00082
00083 #endif
00084
-
1.3.3
diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html
index dd5dcfe15..58bce0381 100644
--- a/docs/module-doc/servers_8h.html
+++ b/docs/module-doc/servers_8h.html
@@ -72,7 +72,7 @@ Definition at line 25 of
Definition at line 26 of file servers.h.
-
1.3.3
diff --git a/docs/module-doc/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html
index 9997efece..4c06ed1f0 100644
--- a/docs/module-doc/structInAddr__HashComp-members.html
+++ b/docs/module-doc/structInAddr__HashComp-members.html
@@ -7,7 +7,7 @@
| operator()(const in_addr &s1, const in_addr &s2) const | InAddr_HashComp | [inline] |
1.3.3
diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html
index cd9714be9..01f69360b 100644
--- a/docs/module-doc/structInAddr__HashComp.html
+++ b/docs/module-doc/structInAddr__HashComp.html
@@ -65,7 +65,7 @@ Definition at line 157
1.3.3
diff --git a/docs/module-doc/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html
index 2176a9f48..b3cda59e4 100644
--- a/docs/module-doc/structStrHashComp-members.html
+++ b/docs/module-doc/structStrHashComp-members.html
@@ -7,7 +7,7 @@
| operator()(const string &s1, const string &s2) const | StrHashComp | [inline] |
1.3.3
diff --git a/docs/module-doc/structStrHashComp.html b/docs/module-doc/structStrHashComp.html
index b7ed816cd..a62da9a43 100644
--- a/docs/module-doc/structStrHashComp.html
+++ b/docs/module-doc/structStrHashComp.html
@@ -62,7 +62,7 @@ Definition at line 144
1.3.3
diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
new file mode 100644
index 000000000..f8be24ed2
--- /dev/null
+++ b/docs/module-doc/structdns__ip4list-members.html
@@ -0,0 +1,16 @@
+
+
+| ip | dns_ip4list | |
| next | dns_ip4list |
+1.3.3
+
+
diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html
new file mode 100644
index 000000000..ff5618eed
--- /dev/null
+++ b/docs/module-doc/structdns__ip4list.html
@@ -0,0 +1,74 @@
+
+
+#include <dns.h>
+Public Attributes | |
| in_addr | ip |
| dns_ip4list * | next |
+
+
|
+
| + + | +
+
+ + + |
+
+
+
|
+
| + + | +
+
+ + + |
+
+1.3.3
+
+
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
index 8f62c68d9..b07a9b88f 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
@@ -7,7 +7,7 @@
| operator()(const struct in_addr &a) const | nspace::hash< in_addr > | [inline] |
1.3.3
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
index cfa818e8b..7be1fb4b0 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
@@ -55,7 +55,7 @@ Definition at line 117
1.3.3
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
index 3d22fbafa..4e32e0f61 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
@@ -7,7 +7,7 @@
| operator()(const string &s) const | nspace::hash< string > | [inline] |
1.3.3
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
index 26f2949e7..09bfece49 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
@@ -57,7 +57,7 @@ Definition at line 130
1.3.3
diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html
index ed5969e5b..f9a0859d1 100644
--- a/docs/module-doc/tree.html
+++ b/docs/module-doc/tree.html
@@ -119,6 +119,7 @@
+
@@ -139,6 +140,8 @@
+
+
@@ -208,6 +211,8 @@
+
+
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 8fdd3a919..9fdea3e20 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -48,127 +48,128 @@
00041 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
00042 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
00043 haspassed = false;
-00044 strcpy(result,"");
-00045 for (int i = 0; i < MAXCHANS; i++)
-00046 {
-00047 this->chans[i].channel = NULL;
-00048 this->chans[i].uc_modes = 0;
-00049 }
-00050 invites.clear();
-00051 }
-00052
+00044 dns_done = false;
+00045 strcpy(result,"");
+00046 for (int i = 0; i < MAXCHANS; i++)
+00047 {
+00048 this->chans[i].channel = NULL;
+00049 this->chans[i].uc_modes = 0;
+00050 }
+00051 invites.clear();
+00052 }
00053
-00054
-00055 char* userrec::GetFullHost()
-00056 {
-00057 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
-00058 return result;
-00059 }
-00060
+00054
+00055
+00056 char* userrec::GetFullHost()
+00057 {
+00058 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
+00059 return result;
+00060 }
00061
-00062 char* userrec::GetFullRealHost()
-00063 {
-00064 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
-00065 return result;
-00066 }
-00067
-00068 bool userrec::IsInvited(char* channel)
-00069 {
-00070 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00071 {
-00072 if (i->channel) {
-00073 if (!strcasecmp(i->channel,channel))
-00074 {
-00075 return true;
-00076 }
-00077 }
-00078 }
-00079 return false;
-00080 }
-00081
-00082 void userrec::InviteTo(char* channel)
-00083 {
-00084 Invited i;
-00085 strlcpy(i.channel,channel,CHANMAX);
-00086 invites.push_back(i);
-00087 }
-00088
-00089 void userrec::RemoveInvite(char* channel)
-00090 {
-00091 log(DEBUG,"Removing invites");
-00092 if (channel)
-00093 {
-00094 if (invites.size())
-00095 {
-00096 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00097 {
-00098 if (i->channel)
-00099 {
-00100 if (!strcasecmp(i->channel,channel))
-00101 {
-00102 invites.erase(i);
-00103 return;
-00104 }
-00105 }
-00106 }
-00107 }
-00108 }
-00109 }
-00110
-00111 bool userrec::HasPermission(char* command)
-00112 {
-00113 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00114 char* myclass;
-00115 char* mycmd;
-00116 char* savept;
-00117 char* savept2;
-00118
-00119 // are they even an oper at all?
-00120 if (strchr(this->modes,'o'))
-00121 {
-00122 log(DEBUG,"*** HasPermission: %s is an oper",this->nick);
-00123 for (int j =0; j < ConfValueEnum("type",&config_f); j++)
-00124 {
-00125 ConfValue("type","name",j,TypeName,&config_f);
-00126 if (!strcmp(TypeName,this->oper))
-00127 {
-00128 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
-00129 ConfValue("type","classes",j,Classes,&config_f);
-00130 char* myclass = strtok_r(Classes," ",&savept);
-00131 while (myclass)
-00132 {
-00133 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
-00134 for (int k =0; k < ConfValueEnum("class",&config_f); k++)
-00135 {
-00136 ConfValue("class","name",k,ClassName,&config_f);
-00137 if (!strcmp(ClassName,myclass))
-00138 {
-00139 ConfValue("class","commands",k,CommandList,&config_f);
-00140 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList);
-00141
+00062
+00063 char* userrec::GetFullRealHost()
+00064 {
+00065 snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
+00066 return result;
+00067 }
+00068
+00069 bool userrec::IsInvited(char* channel)
+00070 {
+00071 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00072 {
+00073 if (i->channel) {
+00074 if (!strcasecmp(i->channel,channel))
+00075 {
+00076 return true;
+00077 }
+00078 }
+00079 }
+00080 return false;
+00081 }
+00082
+00083 void userrec::InviteTo(char* channel)
+00084 {
+00085 Invited i;
+00086 strlcpy(i.channel,channel,CHANMAX);
+00087 invites.push_back(i);
+00088 }
+00089
+00090 void userrec::RemoveInvite(char* channel)
+00091 {
+00092 log(DEBUG,"Removing invites");
+00093 if (channel)
+00094 {
+00095 if (invites.size())
+00096 {
+00097 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00098 {
+00099 if (i->channel)
+00100 {
+00101 if (!strcasecmp(i->channel,channel))
+00102 {
+00103 invites.erase(i);
+00104 return;
+00105 }
+00106 }
+00107 }
+00108 }
+00109 }
+00110 }
+00111
+00112 bool userrec::HasPermission(char* command)
+00113 {
+00114 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00115 char* myclass;
+00116 char* mycmd;
+00117 char* savept;
+00118 char* savept2;
+00119
+00120 // are they even an oper at all?
+00121 if (strchr(this->modes,'o'))
+00122 {
+00123 log(DEBUG,"*** HasPermission: %s is an oper",this->nick);
+00124 for (int j =0; j < ConfValueEnum("type",&config_f); j++)
+00125 {
+00126 ConfValue("type","name",j,TypeName,&config_f);
+00127 if (!strcmp(TypeName,this->oper))
+00128 {
+00129 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
+00130 ConfValue("type","classes",j,Classes,&config_f);
+00131 char* myclass = strtok_r(Classes," ",&savept);
+00132 while (myclass)
+00133 {
+00134 log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
+00135 for (int k =0; k < ConfValueEnum("class",&config_f); k++)
+00136 {
+00137 ConfValue("class","name",k,ClassName,&config_f);
+00138 if (!strcmp(ClassName,myclass))
+00139 {
+00140 ConfValue("class","commands",k,CommandList,&config_f);
+00141 log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList);
00142
-00143 mycmd = strtok_r(CommandList," ",&savept2);
-00144 while (mycmd)
-00145 {
-00146 if (!strcasecmp(mycmd,command))
-00147 {
-00148 log(DEBUG,"*** Command %s found, returning true",command);
-00149 return true;
-00150 }
-00151 mycmd = strtok_r(NULL," ",&savept2);
-00152 }
-00153 }
-00154 }
-00155 myclass = strtok_r(NULL," ",&savept);
-00156 }
-00157 }
-00158 }
-00159 }
-00160 return false;
-00161 }
-00162
+00143
+00144 mycmd = strtok_r(CommandList," ",&savept2);
+00145 while (mycmd)
+00146 {
+00147 if (!strcasecmp(mycmd,command))
+00148 {
+00149 log(DEBUG,"*** Command %s found, returning true",command);
+00150 return true;
+00151 }
+00152 mycmd = strtok_r(NULL," ",&savept2);
+00153 }
+00154 }
+00155 }
+00156 myclass = strtok_r(NULL," ",&savept);
+00157 }
+00158 }
+00159 }
+00160 }
+00161 return false;
+00162 }
00163
-
1.3.3
diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html
index e0b58a6b3..1c2f6b03d 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -44,7 +44,7 @@
Definition at line 24 of file users.cpp.
-
1.3.3
diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 3eb9440b2..92d23f111 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -100,27 +100,29 @@
00150
00156 char oper[NICKMAX];
00157
-00158 userrec();
-00159
-00160 virtual ~userrec() { }
-00161
-00166 virtual char* GetFullHost();
-00167
-00173 virtual char* GetFullRealHost();
-00174
-00177 virtual bool IsInvited(char* channel);
+00160 bool dns_done;
+00161
+00162 userrec();
+00163
+00164 virtual ~userrec() { }
+00165
+00170 virtual char* GetFullHost();
+00171
+00177 virtual char* GetFullRealHost();
00178
-00181 virtual void InviteTo(char* channel);
+00181 virtual bool IsInvited(char* channel);
00182
-00187 virtual void RemoveInvite(char* channel);
-00188
-00193 bool HasPermission(char* command);
-00194
-00195 };
-00196
-00197
-00198 #endif
-
1.3.3
diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html
index 537ddee59..ca1f80611 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -243,7 +243,7 @@ Holds a complete list of all channels to which a user has been invited and has n
Definition at line 75 of file users.h.
-
1.3.3
diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index 97894e8b8..98797f21c 100644
--- a/docs/module-doc/xline_8h-source.html
+++ b/docs/module-doc/xline_8h-source.html
@@ -115,7 +115,7 @@
00146 #endif
00147
00148
-
1.3.3
diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html
index ba9c457b2..f9e922106 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -928,7 +928,7 @@
-
1.3.3
--
cgit v1.3.1-10-gc9f91