diff --git a/src/fieldset.c b/src/fieldset.c index 7c0de51..327afe1 100644 --- a/src/fieldset.c +++ b/src/fieldset.c @@ -15,6 +15,11 @@ int fs_split_string(int *len, char**results) return 0; } +void combine_definitions() +{ + +} + fieldset_t *fs_new_fieldset(void) { fieldset_t *f = malloc(sizeof(fieldset_t)); diff --git a/src/state.c b/src/state.c index a1caa8a..9b8a583 100644 --- a/src/state.c +++ b/src/state.c @@ -38,6 +38,9 @@ struct state_conf zconf = { .gw_mac_set = 0, .source_ip_first = NULL, .source_ip_last = NULL, + .raw_output_fields = NULL, + .output_fields = NULL, + .output_fields_len = 0, .dryrun = 0, .quiet = 0, .summary = 0, diff --git a/src/state.h b/src/state.h index f1c967e..7730b99 100644 --- a/src/state.h +++ b/src/state.h @@ -71,6 +71,9 @@ struct state_conf { char *output_filename; char *blacklist_filename; char *whitelist_filename; + char *raw_output_fields; + char **output_fields; + int output_fields_len; int dryrun; int summary; int quiet;