Back ported revision 3242 - Every include file now is const correct (am49281)

This commit is contained in:
Steve Dudenhoeffer
2007-01-26 05:56:10 +00:00
parent 8341e41f04
commit dd8f138892
21 changed files with 102 additions and 103 deletions

View File

@ -3,7 +3,7 @@
(C)Copyrighted under the GNU General Public License, Version 2
*/
#if defined _geoip_included
#if defined geoip_included
#endinput
#endif
#define _geoip_included
@ -20,10 +20,10 @@
//IP address can contain ports, the ports will be stripped out
//get a two character country code (eg US, CA etc)
native geoip_code2(ip[], ccode[3]);
native geoip_code2(const ip[], ccode[3]);
//get a three character country code (eg USA, CAN etc)
native geoip_code3(ip[], result[4]);
//get a three character country code (eg USA, cAN etc)
native geoip_code3(const ip[], result[4]);
//get a full country name. max name is 45 chars
native geoip_country(ip[], result[], len=45);
native geoip_country(const ip[], result[], len=45);