From 98809d97bebc734be769318ad374c37b65dfd1e1 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 16 Nov 2014 00:55:41 +0100 Subject: Moved geoip-related functions to geoip.c Signed-off-by: Haru --- src/char/geoip.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/char/geoip.h') diff --git a/src/char/geoip.h b/src/char/geoip.h index c83d886b5..8cad2f73b 100644 --- a/src/char/geoip.h +++ b/src/char/geoip.h @@ -11,19 +11,19 @@ * GeoIP information **/ struct s_geoip { - unsigned char *cache; // GeoIP.dat information see geoip->init() - bool active; + unsigned char *cache; // GeoIP.dat information see geoip->init() + bool active; }; /** * geoip interface **/ struct geoip_interface { - struct s_geoip *data; - const char* (*getcountry) (uint32 ipnum); - void (*final) (bool shutdown); - void (*init) (void); -} geoip_s; + struct s_geoip *data; + const char* (*getcountry) (uint32 ipnum); + void (*final) (bool shutdown); + void (*init) (void); +}; struct geoip_interface *geoip; -- cgit v1.2.3-60-g2f50