diff options
Diffstat (limited to 'src/country.h')
-rw-r--r-- | src/country.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/country.h b/src/country.h index 616a6c26..9fb44363 100644 --- a/src/country.h +++ b/src/country.h @@ -6,7 +6,23 @@ struct country { char *name; }; struct country * country_get_by_id(int id); + +#ifdef __cplusplus +extern "C" +#endif int country_search_by_name(const char *name, int partial, int (*func)(struct country *cou, void *data), void *data); + +#ifdef __cplusplus +extern "C" +#endif int country_search_by_car(const char *name, int partial, int (*func)(struct country *cou, void *data), void *data); + +#ifdef __cplusplus +extern "C" +#endif int country_search_by_iso2(const char *name, int partial, int (*func)(struct country *cou, void *data), void *data); + +#ifdef __cplusplus +extern "C" +#endif int country_search_by_iso3(const char *name, int partial, int (*func)(struct country *cou, void *data), void *data); |