Geoip: Add geoip_continent_name() native.
This commit is contained in:
@ -190,4 +190,15 @@ enum Continent
|
||||
CONTINENT_OCEANIA,
|
||||
CONTINENT_SOUTH_AMERICA
|
||||
};
|
||||
native Continent:geoip_continent_code(const ip[], result[3]);
|
||||
native Continent:geoip_continent_code(const ip[], result[3]);
|
||||
|
||||
/**
|
||||
* Look up the full continent name for the given IP address.
|
||||
*
|
||||
* @param ip The IP address to look up.
|
||||
* @param result The result of the geoip look up.
|
||||
* @param len The maximum length of the result buffer.
|
||||
*
|
||||
* @return The result length on successful lookup, 0 otherwise.
|
||||
*/
|
||||
native geoip_continent_name(const ip[], result[], len);
|
||||
|
Reference in New Issue
Block a user