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.
|
#include "dfw_field_trial_service_data.h"
#include "dfw_field_trial_service_library.h"
#include "jansson.h"
Go to the source code of this file.
Data Structures | |
struct | JSONProcessor |
Functions | |
void | InitialiseJSONProcessor (struct JSONProcessor *processor_p, json_t *(*process_plot_json_fn)(struct JSONProcessor *processor_p, struct Plot *plot_p, ViewFormat format, const FieldTrialServiceData *service_data_p), json_t *(*process_row_json_fn)(struct JSONProcessor *processor_p, struct Row *row_p, ViewFormat format, const FieldTrialServiceData *service_data_p), void(*free_fn)(struct JSONProcessor *processor_p)) |
void | FreeJSONProcessor (struct JSONProcessor *processor_p) |
json_t * | ProcessPlotJSON (struct JSONProcessor *processor_p, struct Plot *plot_p, ViewFormat format, const FieldTrialServiceData *service_data_p) |
json_t * | ProcessRowJSON (struct JSONProcessor *processor_p, struct Row *row_p, ViewFormat format, const FieldTrialServiceData *service_data_p) |
void InitialiseJSONProcessor | ( | struct JSONProcessor * | processor_p, |
json_t *(*)(struct JSONProcessor *processor_p, struct Plot *plot_p, ViewFormat format, const FieldTrialServiceData *service_data_p) | process_plot_json_fn, | ||
json_t *(*)(struct JSONProcessor *processor_p, struct Row *row_p, ViewFormat format, const FieldTrialServiceData *service_data_p) | process_row_json_fn, | ||
void(*)(struct JSONProcessor *processor_p) | free_fn | ||
) |
void FreeJSONProcessor | ( | struct JSONProcessor * | processor_p | ) |
json_t* ProcessPlotJSON | ( | struct JSONProcessor * | processor_p, |
struct Plot * | plot_p, | ||
ViewFormat | format, | ||
const FieldTrialServiceData * | service_data_p | ||
) |
json_t* ProcessRowJSON | ( | struct JSONProcessor * | processor_p, |
struct Row * | row_p, | ||
ViewFormat | format, | ||
const FieldTrialServiceData * | service_data_p | ||
) |