If you are not redirected automatically, follow this link to getdns_return_t getdns_context_set_appdata_dir(getdns_context *context, const char *appdata_dir).