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.
web_service.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2016 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 
21 #ifndef WEB_SERVICE_H
22 #define WEB_SERVICE_H
23 
24 #include "service.h"
25 #include "library.h"
26 #include "web_service_library.h"
27 
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32 
33 
42 WEB_SERVICE_API ServicesArray *GetServices (json_t *config_p);
43 
44 
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 
59 
60 #endif /* #ifndef WEB_SERVICE_H */
GetServices
ServicesArray * GetServices(json_t *config_p)
Get the ServicesArray containing the Web Services.
service.h
WEB_SERVICE_API
#define WEB_SERVICE_API
Definition: web_service_library.h:41
ReleaseServices
void ReleaseServices(ServicesArray *services_p)
Free the ServicesArray containing the Web Services.
web_service_library.h
ServicesArray
A datatype for having a set of Services.
Definition: service.h:422
library.h