+ l = ndlsym("geoip", "geoip_lookupcode");
+ if(!l) {
+ parseError = "unable to lookup geoip function pointer";
+ return NULL;
+ }
+
+ if (!(countrysn=argtoconststr("country", ctx, argv[0], &p)))
+ return NULL;
+
+ target = l(p);
+ countrysn->free(ctx, countrysn);
+
+ if(target == -1) {
+ parseError = "country: invalid country.";
+ return NULL;
+ }