ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/hostmask.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/hostmask.c (file contents):
Revision 5347 by michael, Sun Jan 11 12:42:20 2015 UTC vs.
Revision 5460 by michael, Tue Feb 3 22:24:57 2015 UTC

# Line 44 | Line 44
44                           ch = ch - 'a' + 10; \
45                         } while (0);
46  
47 + /* Hashtable stuff...now external as it's used in m_stats.c */
48 + dlink_list atable[ATABLE_SIZE];
49 +
50   /* The mask parser/type determination code... */
51  
52   /* int try_parse_v6_netmask(const char *, struct irc_ssaddr *, int *);
# Line 338 | Line 341 | mask_addr(struct irc_ssaddr *ip, int bit
341    }
342   }
343  
341 /* Hashtable stuff...now external as it's used in m_stats.c */
342 dlink_list atable[ATABLE_SIZE];
343
344   /* unsigned long hash_ipv4(struct irc_ssaddr*)
345   * Input: An IP address.
346   * Output: A hash value of the IP address.

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)