19 #ifndef __ANALYSIS_H__
20 #define __ANALYSIS_H__
58 #define ASTATUS_MAX ASTATUS_DONE
61 #define ASTATUS(n) (((n) <= ASTATUS_MAX) ? ASTATUS_STRINGS[(n)] : NULL)
void analysis_desc_free(struct analysis_desc *desc)
struct target_spec * target_spec
void analysis_set_path(const char **path)
struct array_list * analysis_load_all(void)
void analysis_param_free(struct analysis_param *param)
GHashTable * in_params_long
uint32_t reports_intermediate_results
void analysis_set_annotation_path_string(const char *path)
char ** analysis_get_path(void)
struct array_list * results
uint32_t reports_final_results
void analysis_datum_simple_value_free(struct analysis_datum_simple_value *v)
struct target_spec * overlay_target_spec
void analysis_set_status(struct analysis *analysis, analysis_status_t status)
int analysis_detach_evloop(struct analysis *analysis)
void analysis_datum_free(struct analysis_datum *datum)
struct analysis * analysis_create_from_memory(char *name, char *driver_bytes, char *input_bytes, struct array_list *file_names, struct array_list *file_bytes)
int analysis_datum_add_typed_value(struct analysis_datum *datum, char *name, void *value, int len, int datatype_id, int no_copy)
void analysis_set_schema_path(const char **path)
struct analysis_desc * desc
struct analysis_datum * analysis_create_simple_datum(struct analysis *analysis, int id, char *name, int type, char *value, char *msg, int no_copy)
struct analysis_spec * spec
uint32_t supports_external_control
void analysis_datum_typed_value_free(struct analysis_datum_typed_value *v)
void analysis_set_schema_path_string(const char *path)
uint32_t autoparse_simple_data
struct analysis_desc * analysis_load(const char *name)
int analysis_datum_add_simple_value(struct analysis_datum *datum, char *name, char *value, int no_copy)
void analysis_set_path_string(const char *path)
uint32_t generates_annotations
uint32_t supports_autoparse_simple_results
struct array_list * analysis_list_pathnames(void)
struct target * overlay_target
uint32_t requires_control
int analysis_datum_report(struct analysis *analysis, struct analysis_datum *datum)
uint8_t is_command_line_switched
struct analysis_desc * analysis_load_pathname(const char *path)
void analysis_set_annotation_path(const char **path)
GHashTable * out_params_long
struct analysis * analysis_create(int id, struct analysis_spec *spec, struct analysis_desc *desc, int target_id, struct target *target)
void analysis_spec_free(struct analysis_spec *spec)
struct array_list * values
int target_id(struct target *target)
int analysis_attach_evloop(struct analysis *analysis, struct evloop *evloop)
uint32_t report_stderr_intermediate
int analysis_is_evloop_attached(struct analysis *analysis, struct evloop *evloop)
analysis_status_t analysis_close(struct analysis *analysis)
uint32_t report_stdout_intermediate
struct array_list * in_params
char * analysis_find(const char *name)
void analysis_free(struct analysis *analysis)
struct array_list * analysis_list_names(void)