]> jfr.im git - solanum.git/blobdiff - include/hostmask.h
ircd: rewrite SOCKET_ERROR as I_SOCKET_ERROR
[solanum.git] / include / hostmask.h
index fa219ad3ac9418dd61760ced99f5fbaaecdc97d0..43dadc0a3877b90d4700c806a9c13629b56f3f22 100644 (file)
@@ -21,8 +21,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: hostmask.h 2757 2006-11-10 22:58:15Z jilles $
  */
 
 #ifndef INCLUDE_hostmask_h
@@ -36,7 +34,7 @@ enum
 #endif
 };
 
-int parse_netmask(const char *, struct sockaddr *, int *);
+int parse_netmask(const char *, struct rb_sockaddr_storage *, int *);
 struct ConfItem *find_conf_by_address(const char *host, const char *sockhost,
                                      const char *orighost, struct sockaddr *,
                                      int, int, const char *, const char *);
@@ -47,7 +45,7 @@ void delete_one_address_conf(const char *, struct ConfItem *);
 void clear_out_address_conf(void);
 void clear_out_address_conf_bans(void);
 void init_host_hash(void);
-struct ConfItem *find_address_conf(const char *host, const char *sockhost, 
+struct ConfItem *find_address_conf(const char *host, const char *sockhost,
                                const char *, const char *, struct sockaddr *,
                                int, char *);
 
@@ -58,7 +56,6 @@ struct ConfItem *find_dline(struct sockaddr *, int);
                         (struct sockaddr *)&(x)->localClient->ip, CONF_KILL,\
                         (x)->localClient->ip.ss_family, (x)->username, NULL))
 
-void report_Klines(struct Client *);
 void report_auth(struct Client *);
 #ifdef RB_IPV6
 int match_ipv6(struct sockaddr *, struct sockaddr *, int);