Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
germplasm_country_codes.h
Go to the documentation of this file.
1 /*
2  * country_codes.h
3  *
4  * Created on: 6 Jun 2018
5  * Author: billy
6  */
7 
8 #ifndef SERVICES_GERMPLASM_SERVICE_INCLUDE_GERMPLASM_COUNTRY_CODES_H_
9 #define SERVICES_GERMPLASM_SERVICE_INCLUDE_GERMPLASM_COUNTRY_CODES_H_
10 
12 
13 
14 
15 typedef struct Country
16 {
17  const char *co_name_s;
18  const char *co_alpha_2_code_s;
19  const char *co_alpha_3_code_s;
20 } Country;
21 
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27 
28 
29 GERMPLASM_SERVICE_API const Country *FindCountryByAlpha3Code (const char * const alpha_3_code_s);
30 
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* SERVICES_GERMPLASM_SERVICE_INCLUDE_GERMPLASM_COUNTRY_CODES_H_ */
Country::co_name_s
const char * co_name_s
Definition: germplasm_country_codes.h:17
FindCountryByAlpha3Code
const GERMPLASM_SERVICE_API Country * FindCountryByAlpha3Code(const char *const alpha_3_code_s)
germplasm_service_library.h
Country::co_alpha_2_code_s
const char * co_alpha_2_code_s
Definition: germplasm_country_codes.h:18
Country
Definition: germplasm_country_codes.h:15
Country::co_alpha_3_code_s
const char * co_alpha_3_code_s
Definition: germplasm_country_codes.h:19
GERMPLASM_SERVICE_API
#define GERMPLASM_SERVICE_API
Definition: germplasm_service_library.h:40