Moved CCL Map, record syntax, charset normalization, record syntax normalization...
[pazpar2-moved-to-github.git] / src / database.h
index 25aee00..5b84a1f 100644 (file)
@@ -2,6 +2,9 @@
 #define DATABASE_H
 
 void load_simpletargets(const char *fn);
-int grep_databases(void *context, void (*fun)(void *context, struct database *db));
+void prepare_databases(void);
+int grep_databases(void *context, struct database_criterion *cl,
+        void (*fun)(void *context, struct database *db));
+int database_match_criteria(struct database *db, struct database_criterion *cl);
 
 #endif