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_cache.h
Go to the documentation of this file.
1 /*
2  * germplasm_cache.h
3  *
4  * Created on: 6 Jul 2018
5  * Author: billy
6  */
7 
8 #ifndef SERVICES_GERMPLASM_SERVICE_SRC_GERMPLASM_CACHE_H_
9 #define SERVICES_GERMPLASM_SERVICE_SRC_GERMPLASM_CACHE_H_
10 
12 #include "address.h"
13 #include "mongodb_tool.h"
14 
15 
16 
17 GERMPLASM_SERVICE_LOCAL bool GetCachedGeolocationData (Address *address_p, const char *plant_id_s, const char *address_key_s, MongoTool *mongo_p);
18 
19 GERMPLASM_SERVICE_LOCAL bool CacheGeolocationData (Address *address_p, const char *plant_id_s, const char *address_key_s, MongoTool *mongo_p);
20 
21 
22 
23 #endif /* SERVICES_GERMPLASM_SERVICE_SRC_GERMPLASM_CACHE_H_ */
GetCachedGeolocationData
GERMPLASM_SERVICE_LOCAL bool GetCachedGeolocationData(Address *address_p, const char *plant_id_s, const char *address_key_s, MongoTool *mongo_p)
GERMPLASM_SERVICE_LOCAL
#define GERMPLASM_SERVICE_LOCAL
Definition: germplasm_service_library.h:41
CacheGeolocationData
GERMPLASM_SERVICE_LOCAL bool CacheGeolocationData(Address *address_p, const char *plant_id_s, const char *address_key_s, MongoTool *mongo_p)
MongoTool
A MongoTool is a datatype that allows access to the data stored within a MongoDB instance.
Definition: mongodb_tool.h:159
address.h
germplasm_service_library.h
Address
A datatype for storing a postal address as well as its geographic coordinates if possible.
Definition: address.h:21
mongodb_tool.h