Changed include/yaz/diagbib1.h and added include/yaz/diagsrw.h with
[yaz-moved-to-github.git] / src / diag-entry.h
diff --git a/src/diag-entry.h b/src/diag-entry.h
new file mode 100644 (file)
index 0000000..e8a3508
--- /dev/null
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 1995-2005, Index Data ApS
+ * See the file LICENSE for details.
+ *
+ * $Id: diag-entry.h,v 1.1 2005-04-22 08:27:58 adam Exp $
+ */
+
+struct yaz_diag_entry {
+    int code;
+    char *msg;
+};
+
+const char *yaz_diag_to_str(struct yaz_diag_entry *tab, int code);