X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt.h;h=bb1cad9827876805385d2efa37750e8a03c145d2;hb=d5841c7c5616c3259c78e90cbf8e5e96ebd3ab31;hp=5276e169323319d75ae46d2db546475b61411b37;hpb=c70f63352bac2f0bfdcc3078d69f43adbcc7ad2d;p=yaz-moved-to-github.git diff --git a/include/prt.h b/include/prt.h index 5276e16..bb1cad9 100644 --- a/include/prt.h +++ b/include/prt.h @@ -1,3 +1,8 @@ +#ifndef PRT_H +#define PRT_H + +#include + 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); @@ -42,3 +47,9 @@ int odr_grow_block(odr_ecblock *b, int min_bytes); int odr_write(ODR o, unsigned char *buf, int bytes); 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); +Odr_oid *odr_getoidbystr(ODR o, char *str); + +#endif