Extended simpletarget model with target names. Added names to target facet and detailed
[pazpar2-moved-to-github.git] / src / pazpar2.h
index 85ebd58..ec54751 100644 (file)
@@ -66,6 +66,7 @@ struct host {
 struct database {
     struct host *host;
     char *url;
+    char *name;
     char **databases;
     int errors;
     struct conf_queryprofile *qprofile;
@@ -165,7 +166,8 @@ struct statistics {
 };
 
 struct hitsbytarget {
-    char id[256];
+    char *id;
+    char *name;
     int hits;
     int diagnostic;
     int records;