summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-07-03 13:29:27 -0400
committerAdam <Adam@anope.org>2016-07-03 13:29:27 -0400
commit8dc687b657205abefeb1a779ea42070721252e14 (patch)
tree3be15fa06f97359c4523000ec496cab9c93af678 /include
parent18fc11398435a84a77219dc7332bed6e38c850d7 (diff)
#1682: store aftype with masks and include cidrs in GetNUHMask
Diffstat (limited to 'include')
-rw-r--r--include/modes.h1
-rw-r--r--include/sockets.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/modes.h b/include/modes.h
index b4290e97f..03f6f8a58 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -395,6 +395,7 @@ class CoreExport Entry
Anope::string mask;
public:
unsigned short cidr_len;
+ int family;
Anope::string nick, user, host, real;
/** Constructor
diff --git a/include/sockets.h b/include/sockets.h
index f49d6c3ff..89ca79dde 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -38,6 +38,10 @@ union CoreExport sockaddrs
*/
void clear();
+ /** Get address family.
+ */
+ int family() const;
+
/** Get the size of the sockaddr we represent
* @return The size
*/