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.
pathogenomics_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
21
/*
22
* pathogenomics_utils.h
23
*
24
* Created on: 2 Dec 2015
25
* Author: tyrrells
26
*/
27
28
#ifndef PATHOGENOMICS_UTILS_H_
29
#define PATHOGENOMICS_UTILS_H_
30
31
#include "
pathogenomics_service_library.h
"
32
#include "jansson.h"
33
#include "
linked_list.h
"
34
#include "
service_job.h
"
35
36
37
#ifdef __cplusplus
38
extern
"C"
39
{
40
#endif
41
42
43
PATHOGENOMICS_SERVICE_LOCAL
bool
AddPublishDateToJSON (json_t *json_p,
const
char
*
const
key_s,
const
int32 stage_time,
const
bool
add_flag);
44
45
46
PATHOGENOMICS_SERVICE_LOCAL
bool
SetDateForSchemaOrg (json_t *values_p,
const
char
*
const
key_s,
const
char
*
const
iso_date_s);
47
48
49
PATHOGENOMICS_SERVICE_LOCAL
bool
CheckForFields (
const
LinkedList
*column_headers_p,
const
char
**headers_ss,
ServiceJob
*job_p);
50
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
/* PATHOGENOMICS_UTILS_H_ */
ServiceJob
A datatype to represent a running task.
Definition:
service_job.h:72
PATHOGENOMICS_SERVICE_LOCAL
#define PATHOGENOMICS_SERVICE_LOCAL
Definition:
pathogenomics_service_library.h:42
LinkedList
A doubly-linked list that can be traversed in either direction.
Definition:
linked_list.h:56
service_job.h
linked_list.h
A doubly-linked list.
pathogenomics_service_library.h
services
field-pathogenomics
include
pathogenomics_utils.h
Generated on Mon Feb 26 2024 17:00:10 for Grassroots Infrastructure by
1.8.16