New: settings for service. Inherited by the targets under it
authorDennis Schafroth <dennis@indexdata.com>
Thu, 19 Apr 2012 10:35:59 +0000 (12:35 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 19 Apr 2012 10:35:59 +0000 (12:35 +0200)
src/pazpar2_config.h

index 659d6bf..58eb0e7 100644 (file)
@@ -83,7 +83,9 @@ struct conf_metadata
     enum conf_setting_type setting; // Value is to be taken from session/db settings?
     enum conf_metadata_mergekey mergekey;
     char *facetrule;
-    char *limitmap;
+
+    char *limitmap;  // Should be expanded into service-wide default e.g. pz:limitmap:<name>=value setting
+    char *facetmap;  // Should be expanded into service-wide default e.g. pz:facetmap:<name>=value setting
 };
 
 
@@ -109,6 +111,7 @@ struct conf_service
     int num_sortkeys;
     struct conf_sortkey *sortkeys;
     struct setting_dictionary *dictionary;
+    struct settings *settings;
     struct conf_service *next;
     char *id;
     NMEM nmem;