]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - getconf.c
Add option to hide index column
[thirdparty/sarg.git] / getconf.c
index 8884f8bd4c9eab2914f51bee4e282ed23c85d13d..dc019f0a8eae3de45799d5221910fb54d8395aa4 100644 (file)
--- a/getconf.c
+++ b/getconf.c
@@ -119,6 +119,11 @@ static struct param_list index_tree_values[]=
        {"file",INDEX_TREE_FILE,~INDEX_TREE_FILE},
 };
 
+static struct param_list indexfields_values[]=
+{
+       {"DIRSIZE",INDEXFIELDS_DIRSIZE,0},
+};
+
 static struct param_list ntml_userformat_values[]=
 {
        {"user",NTLMUSERFORMAT_USER,~NTLMUSERFORMAT_USER},
@@ -545,6 +550,8 @@ static void parmtest(char *buf)
 
        if (getparam_list("index",SET_LIST(index_values),buf,&Index)>0) return;
 
+       if (getparam_list("index_fields",SET_LIST(indexfields_values),buf,&IndexFields)>0) return;
+
        if (getparam_bool("overwrite_report",buf,&OverwriteReport)>0) return;
 
        if (getparam_list("records_without_userid",SET_LIST(recnouser_values),buf,&RecordsWithoutUser)>0) return;