projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable inetd operations fro TCP/IP stack
[yaz-moved-to-github.git]
/
include
/
prt.h
diff --git
a/include/prt.h
b/include/prt.h
index
a47a9d9
..
6158275
100644
(file)
--- a/
include/prt.h
+++ b/
include/prt.h
@@
-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);
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);
@@
-36,8
+41,15
@@
int ber_any(ODR o, Odr_any **p);
int completeBER(unsigned char *buf, int len);
void odr_begin(ODR o);
void odr_end(ODR o);
int completeBER(unsigned char *buf, int len);
void odr_begin(ODR o);
void odr_end(ODR o);
-void odr_release_mem(struct odr_memblock *p);
Odr_oid *odr_oiddup(ODR odr, Odr_oid *o);
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);
Odr_oid *odr_oiddup(ODR odr, Odr_oid *o);
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);
+int odr_initmember(ODR o, void *p, int size);
+
+#endif