Author: ZenShadow
[ircu2.10.12-pk.git] / include / IPcheck.h
index f26e222ad88ce87a84fe59272aab4f6a9f9439a4..fe277957b36d6ee0fbc09225bea9ca1dfa85a91d 100644 (file)
 
 struct Client;
 
-/*
+/*----------------------------------------------------------------------------
  * Prototypes
- */
-extern int IPcheck_local_connect(struct in_addr ip, time_t* next_target_out);
-extern void IPcheck_connect_fail(struct in_addr ip);
-extern void IPcheck_connect_succeeded(struct Client *cptr);
-extern int IPcheck_remote_connect(struct Client *cptr, int is_burst);
-extern void IPcheck_disconnect(struct Client *cptr);
-extern unsigned short IPcheck_nr(struct Client *cptr);
-extern void IPcheck_expire();
+ *--------------------------------------------------------------------------*/
+extern int  ip_registry_check_local  (unsigned int   addr, 
+                                     time_t        *next_target_out);
+extern void ip_registry_local_connect(struct Client *cptr);
+extern void ip_registry_connect_fail (unsigned int   addr);
+extern void ip_registry_expire       (void);
+extern void ip_registry_disconnect   (struct Client *cptr);
+extern int  ip_registry_count        (unsigned int   addr);
+extern int  ip_registry_check_remote (struct Client *cptr,
+                                     int            is_burst);
+extern void ip_registry_connect_succeeded(struct Client *cptr);
 
 #endif /* INCLUDED_ipcheck_h */
+