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.
search/include/search_service.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2018 The Earlham Institute
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 ** http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16 /*
17  * search_service.h
18  *
19  * Created on: 24 Oct 2018
20  * Author: billy
21  */
22 
23 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_SEARCH_SERVICE_H_
24 #define SERVICES_FIELD_TRIALS_INCLUDE_SEARCH_SERVICE_H_
25 
26 
27 
28 #include "search_service_data.h"
29 #include "search_service_library.h"
30 
31 
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37 
38 
39 SEARCH_SERVICE_API ServicesArray *GetServices (UserDetails *user_p, GrassrootsServer *grassroots_p);
40 
42 
43 
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 
50 
51 #endif /* SERVICES_FIELD_TRIALS_INCLUDE_SEARCH_SERVICE_H_ */
search_service_data.h
ReleaseServices
SEARCH_SERVICE_API void ReleaseServices(ServicesArray *services_p)
search_service_library.h
ServicesArray
A datatype for having a set of Services.
Definition: service.h:422
GrassrootsServer
Definition: grassroots_server.h:45
GetServices
SEARCH_SERVICE_API ServicesArray * GetServices(UserDetails *user_p, GrassrootsServer *grassroots_p)
SEARCH_SERVICE_API
#define SEARCH_SERVICE_API
Definition: search_service_library.h:42