This update completes the factoring out of database management into database.c,
[pazpar2-moved-to-github.git] / src / pazpar2.h
index 85ebd58..e64505e 100644 (file)
@@ -66,14 +66,15 @@ struct host {
 struct database {
     struct host *host;
     char *url;
+    char *name;
     char **databases;
     int errors;
+    struct zr_explain *explain;
     struct conf_queryprofile *qprofile;
     struct conf_retrievalprofile *rprofile;
     struct database *next;
 };
 
-
 // Represents a physical, reusable  connection to a remote Z39.50 host
 struct connection {
     IOCHAN iochan;
@@ -165,7 +166,8 @@ struct statistics {
 };
 
 struct hitsbytarget {
-    char id[256];
+    char *id;
+    char *name;
     int hits;
     int diagnostic;
     int records;