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.
polymarker_utils.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 
27 #ifndef SERVICES_POLYMARKER_SERVICE_INCLUDE_POLYMARKER_UTILS_H_
28 #define SERVICES_POLYMARKER_SERVICE_INCLUDE_POLYMARKER_UTILS_H_
29 
30 
31 #include "polymarker_service.h"
32 #include "linked_list.h"
33 
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39 
40 
41 POLYMARKER_SERVICE_LOCAL bool CreateMarkerListFile (const char *marker_file_s, const ParameterSet *param_set_p);
42 
43 POLYMARKER_SERVICE_LOCAL bool CreateAndAddMarkerListFile (const char *marker_file_s, const ParameterSet *param_set_p, ByteBuffer *buffer_p);
44 
46 
47 
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 
56 #endif /* SERVICES_POLYMARKER_SERVICE_INCLUDE_POLYMARKER_UTILS_H_ */
CreateMarkerListFile
bool CreateMarkerListFile(const char *marker_file_s, const ParameterSet *param_set_p)
polymarker_service.h
PolymarkerServiceData
The ServiceData used for the PolymarkerService.
Definition: polymarker_service.h:129
LinkedList
A doubly-linked list that can be traversed in either direction.
Definition: linked_list.h:56
CreateAndAddMarkerListFile
bool CreateAndAddMarkerListFile(const char *marker_file_s, const ParameterSet *param_set_p, ByteBuffer *buffer_p)
GetPreviousJobResults
ServiceJobSet * GetPreviousJobResults(LinkedList *ids_p, PolymarkerServiceData *polymarker_data_p)
GetSequenceParametersGroupName
const char * GetSequenceParametersGroupName(void)
ServiceJobSet
A datatype to represent a collection of ServiceJobs.
Definition: service_job.h:185
linked_list.h
A doubly-linked list.
ByteBuffer
A datatype to allow an automatically growing buffer for appending data to.
Definition: byte_buffer.h:35
POLYMARKER_SERVICE_LOCAL
#define POLYMARKER_SERVICE_LOCAL
Definition: polymarker_service.h:48
ParameterSet
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46