Adds the template fields page and endpage, #4204
[pazpar2-moved-to-github.git] / src / settings.c
index 7e25f20..b8c1d0a 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Pazpar2.
-   Copyright (C) 2006-2010 Index Data
+   Copyright (C) 2006-2011 Index Data
 
 Pazpar2 is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <assert.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include "direntz.h"
+#include <yaz/dirent.h>
 #include <stdlib.h>
 #include <sys/stat.h>
 
@@ -41,7 +41,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <yaz/nmem.h>
 #include <yaz/log.h>
 
-#include "pazpar2.h"
+#include "session.h"
 #include "database.h"
 #include "settings.h"
 
@@ -68,6 +68,15 @@ static char *hard_settings[] = {
     "pz:sort",
     "pz:recordfilter",
     "pz:pqf_strftime",
+    "pz:negotiation_charset",
+    "pz:max_connections",
+    "pz:reuse_connections",     /* PZ_REUSE_CONNECTION    */
+    "pz:termlist_term_factor",  /* PZ_TERMLIST_TERM_FACTOR*/
+    "pz:preferred",             /* PZ_PREFERRED           */
+    "pz:extra_args",            /* PZ_EXTRA_ARGS          */
+    "pz:query_syntax",          /* PZ_QUERY_SYNTAX        */
+    "pz:option_recordfilter",   /* PZ_OPTION_RECORDFILTER */
+    "pz:facetmap:",             /* PZ_FACETMAP */
     0
 };