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_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 GERMPLASM_SERVICE_H
22
#define GERMPLASM_SERVICE_H
23
24
#include "
germplasm_service_library.h
"
25
#include "
service.h
"
26
#include "
library.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
30
{
31
#endif
32
33
43
GERMPLASM_SERVICE_API
ServicesArray
*
GetServices
(
User
*user_p,
GrassrootsServer
*grassroots_p);
44
51
GERMPLASM_SERVICE_API
void
ReleaseServices
(
ServicesArray
*services_p);
52
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
59
60
#endif
/* #ifndef GERMPLASM_SERVICE_H */
service.h
GetServices
GERMPLASM_SERVICE_API ServicesArray * GetServices(User *user_p, GrassrootsServer *grassroots_p)
Get the ServicesArray containing the germplasm Services.
ServicesArray
A datatype for having a set of Services.
Definition:
service.h:422
germplasm_service_library.h
library.h
GrassrootsServer
Definition:
grassroots_server.h:45
GERMPLASM_SERVICE_API
#define GERMPLASM_SERVICE_API
Definition:
germplasm_service_library.h:40
User
A datatype to store user credentials.
Definition:
user_details.h:40
ReleaseServices
GERMPLASM_SERVICE_API void ReleaseServices(ServicesArray *services_p)
Free the ServicesArray containing the germplasm Services.
services
germplasm
include
germplasm_service.h
Generated on Mon Feb 26 2024 17:00:10 for Grassroots Infrastructure by
1.8.16