From 621466ce34dfabf7a5ff3ce772c1e2274a24af4e Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Thu, 12 Apr 2007 11:35:08 +0000 Subject: [PATCH] adding settings field 'pz.queryencoding' now need to do something with it .. --- src/settings.c | 10 ++++++---- src/settings.h | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/settings.c b/src/settings.c index 4e0624f..c3f8eaa 100644 --- a/src/settings.c +++ b/src/settings.c @@ -1,4 +1,4 @@ -/* $Id: settings.c,v 1.14 2007-04-11 19:55:57 quinn Exp $ +/* $Id: settings.c,v 1.15 2007-04-12 11:35:08 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -20,9 +20,10 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ -// This module implements a generic system of settings (attribute-value) that can -// be associated with search targets. The system supports both default values, -// per-target overrides, and per-user settings. +// This module implements a generic system of settings +// (attribute-value) that can be associated with search targets. The +// system supports both default values, per-target overrides, and +// per-user settings. #include #include @@ -57,6 +58,7 @@ static char *hard_settings[] = { "pz:maxrecs", "pz:id", "pz:name", + "pz:queryencoding", 0 }; diff --git a/src/settings.h b/src/settings.h index c2699c8..09ec5f4 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,4 +1,4 @@ -/* $Id: settings.h,v 1.13 2007-04-11 19:55:57 quinn Exp $ +/* $Id: settings.h,v 1.14 2007-04-12 11:35:08 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -34,6 +34,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define PZ_MAXRECS 9 #define PZ_ID 10 #define PZ_NAME 11 +#define PZ_QUERYENCODING 12 + struct setting { -- 1.7.10.4