-void meta_query(int lineno, ZebraHandle zh, char *query, int exphits,
- zint *ids);
+int tl_meta_query(ZebraHandle zh, char *query, int exphits,
+ zint *ids
+ ) GCC_ATTRIBUTE((warn_unused_result));
+
+/**
+ * if filter given by name does not exist, exit nicely but warn in log
+ */
+void tl_check_filter(ZebraService zs, const char *name);
+
+#define TL_MAIN int main(int argc, char **argv) { \
+ YAZ_CHECK_INIT(argc, argv); tst(argc, argv); YAZ_CHECK_TERM; }
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+