1LOC_DATABASE_GET_COU(3) LOC_DATABASE_GET_COU(3)
2
3
4
6 loc_database_get_country - Fetch country information from the database
7
9 #include <libloc/database.h>
10
11 int loc_database_get_country(struct loc_database* db, struct
12 loc_country** country, const char* code);
13
15 This function fetches information about the country with the matching
16 code.
17
19 On success, zero is returned. Otherwise non-zero is being returned and
20 errno is set accordingly.
21
23 libloc(3)
24
26 Michael Tremer
27
28
29
30 LOC_DATABASE_GET_COU(3)