loc_database_get_country
Fetch country information from the database
- Provided by: libloc-dev (Version: 0.9.16-3.1build2)
- Source: libloc
- Report a bug
Fetch country information from the database
#include <libloc/database.h>
int loc_database_get_country(struct loc_database* db, struct loc_country** country, const char* code);
This function fetches information about the country with the matching code.
On success, zero is returned. Otherwise non-zero is being returned and errno is set accordingly.
Michael Tremer