adding output-fields to global conf

This commit is contained in:
Zakir Durumeric 2013-08-19 10:53:48 -04:00
parent 952f6cefa1
commit 582d381b30
3 changed files with 11 additions and 0 deletions

View File

@ -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));

View File

@ -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,

View File

@ -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;