Added access macros
[yaz-moved-to-github.git] / include / prt.h
index 0b45d2b..bf590a8 100644 (file)
@@ -1,3 +1,8 @@
+#ifndef PRT_H
+#define PRT_H
+
+#include <yconfig.h>
+
 int ber_boolean(ODR o, int *val);
 int ber_tag(ODR o, void *p, int class, int tag, int *constructed, int opt);
 int ber_enctag(ODR o, int class, int tag, int constructed);
@@ -44,3 +49,6 @@ int odr_seek(ODR o, int whence, int offset);
 int odr_dumpBER(FILE *f, char *buf, int len);
 void odr_choice_bias(ODR o, int what);
 int odr_total(ODR o);
+char *odr_errmsg(int n);
+
+#endif