Geoip: Add geoip_region_name() native.
This commit is contained in:
1 parent
b61ed9fa3e
commit
c11f721ad4
2 files changed
+24
-1
No files matched your search
@@ -109,4 +109,15 @@ native geoip_city(const ip[], result[], len);
|
||||
*
|
||||
* @return The result length on successful lookup, 0 otherwise.
|
||||
*/
|
||||
native geoip_region_code(const ip[], result[], len);
|
||||
native geoip_region_code(const ip[], result[], len);
|
||||
|
||||
/**
|
||||
* Look up the full region/state 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_region_name(const ip[], result[], len);
|
||||
Reference in new issue
Block a user