10 YAZ_EXPORT int ber_boolean(ODR o, int *val);
11 YAZ_EXPORT int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt);
12 YAZ_EXPORT int ber_enctag(ODR o, int zclass, int tag, int constructed);
13 YAZ_EXPORT int ber_dectag(unsigned char *buf, int *zclass, int *tag, int *constructed);
14 YAZ_EXPORT int odr_bool(ODR o, int **p, int opt);
15 YAZ_EXPORT int odr_integer(ODR o, int **p, int opt);
16 YAZ_EXPORT int odr_implicit_settag(ODR o, int zclass, int tag);
18 YAZ_EXPORT int odr_implicit(ODR o, int (*type)(ODR o, void *p, int opt), void *p,
19 int zclass, int tag, int opt);
21 YAZ_EXPORT int ber_enclen(ODR o, int len, int lenlen, int exact);
22 YAZ_EXPORT int ber_declen(unsigned char *buf, int *len);
23 YAZ_EXPORT char *odr_indent(ODR o);
24 YAZ_EXPORT int ber_null(ODR o);
25 YAZ_EXPORT int odr_null(ODR o, Odr_null **p, int opt);
26 YAZ_EXPORT int ber_integer(ODR o, int *val);
27 YAZ_EXPORT int odr_constructed_begin(ODR o, void *p, int zclass, int tag);
28 YAZ_EXPORT int odr_constructed_end(ODR o);
29 YAZ_EXPORT int odr_sequence_begin(ODR o, void *p, int size);
30 YAZ_EXPORT int odr_sequence_end(ODR o);
31 YAZ_EXPORT int ber_octetstring(ODR o, Odr_oct *p, int cons);
32 YAZ_EXPORT int odr_octetstring(ODR o, Odr_oct **p, int opt);
33 YAZ_EXPORT int odp_more_chunks(ODR o, unsigned char *base, int len);
34 YAZ_EXPORT int odr_constructed_more(ODR o);
35 YAZ_EXPORT int odr_bitstring(ODR o, Odr_bitmask **p, int opt);
36 YAZ_EXPORT int ber_bitstring(ODR o, Odr_bitmask *p, int cons);
37 YAZ_EXPORT int odr_generalstring(ODR o, char **p, int opt);
38 YAZ_EXPORT int ber_oidc(ODR o, Odr_oid *p);
39 YAZ_EXPORT int odr_oid(ODR o, Odr_oid **p, int opt);
40 YAZ_EXPORT int odr_choice(ODR o, Odr_arm arm[], void *p, void *whichp);
41 YAZ_EXPORT int odr_cstring(ODR o, char **p, int opt);
42 YAZ_EXPORT int odr_sequence_of(ODR o, Odr_fun type, void *p, int *num);
43 YAZ_EXPORT int odr_any(ODR o, Odr_any **p, int opt);
44 YAZ_EXPORT int ber_any(ODR o, Odr_any **p);
45 YAZ_EXPORT int completeBER(unsigned char *buf, int len);
46 YAZ_EXPORT void odr_begin(ODR o);
47 YAZ_EXPORT void odr_end(ODR o);
48 YAZ_EXPORT Odr_oid *odr_oiddup(ODR odr, Odr_oid *o);
49 YAZ_EXPORT int odr_grow_block(odr_ecblock *b, int min_bytes);
50 YAZ_EXPORT int odr_write(ODR o, unsigned char *buf, int bytes);
51 YAZ_EXPORT int odr_seek(ODR o, int whence, int offset);
52 YAZ_EXPORT int odr_dumpBER(FILE *f, char *buf, int len);
53 YAZ_EXPORT void odr_choice_bias(ODR o, int what);
54 YAZ_EXPORT void odr_choice_enable_bias(ODR o, int mode);
55 YAZ_EXPORT int odr_total(ODR o);
56 YAZ_EXPORT char *odr_errmsg(int n);
57 YAZ_EXPORT Odr_oid *odr_getoidbystr(ODR o, char *str);
58 YAZ_EXPORT int odr_initmember(ODR o, void *p, int size);
59 YAZ_EXPORT int odr_peektag(ODR o, int *zclass, int *tag, int *cons);
60 YAZ_EXPORT void odr_setlenlen(ODR o, int len);