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.
|
Go to the documentation of this file.
23 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_PERSON_JOBS_H_
24 #define SERVICES_FIELD_TRIALS_INCLUDE_PERSON_JOBS_H_
37 #ifdef ALLOCATE_PERSON_JOB_TAGS
38 #define PERSON_JOB_PREFIX DFW_FIELD_TRIAL_SERVICE_LOCAL
39 #define PERSON_JOB_VAL(x) = x
40 #define PERSON_JOB_STRUCT_VAL(x,y) = {x, y}
42 #define PERSON_JOB_PREFIX extern
43 #define PERSON_JOB_VAL(x)
44 #define PERSON_JOB_STRUCT_VAL(x,y)
bool AddPeopleToJSON(LinkedList *people_p, const char *const key_s, json_t *json_p, const ViewFormat format, const FieldTrialServiceData *data_p)
MEM_FLAG
An enum specifying the particular status of a piece of dynamically allocated memory for a particular ...
Definition: memory_allocations.h:38
#define PERSON_JOB_PREFIX
Definition: person_jobs.h:42
This is a datatype that stores a read-only c-style string along with a ParameterType.
Definition: parameter.h:85
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
A datatype to represent a running task.
Definition: service_job.h:72
A c-style string.
Definition: parameter_type.h:58
OperationStatus AddPeopleFromJSON(const json_t *people_json_p, bool(*add_person_fn)(Person *person_p, void *user_data_p, MEM_FLAG *mem_p), void *user_data_p, const FieldTrialServiceData *service_data_p)
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
bool AddMultiplePeopleParameters(ParameterSet *param_set_p, const char *group_s, LinkedList *existing_people_p, FieldTrialServiceData *data_p)
A doubly-linked list that can be traversed in either direction.
Definition: linked_list.h:56
OperationStatus
The current status of an Operation.
Definition: operation.h:96
OperationStatus ProcessPeople(ServiceJob *job_p, ParameterSet *param_set_p, bool(*process_person_fn)(Person *person_p, void *user_data_p), void *user_data_p, FieldTrialServiceData *ft_service_data_p)
bool AddPeopleAsFrictionlessData(LinkedList *people_p, const char *const key_s, json_t *json_p, const FieldTrialServiceData *data_p)
#define PERSON_JOB_STRUCT_VAL(x, y)
Definition: person_jobs.h:44
bool GetPersonParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46