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
Defined log level bits app2 and app3
[yaz-moved-to-github.git]
/
odr
/
odr-priv.h
diff --git
a/odr/odr-priv.h
b/odr/odr-priv.h
index
0c60940
..
fef7455
100644
(file)
--- a/
odr/odr-priv.h
+++ b/
odr/odr-priv.h
@@
-23,7
+23,7
@@
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: odr-priv.h,v 1.3 2003-01-06 08:20:27 adam Exp $
+ * $Id: odr-priv.h,v 1.5 2003-05-20 19:55:29 adam Exp $
*/
#ifndef ODR_PRIV_H
*/
#ifndef ODR_PRIV_H
@@
-40,6
+40,9
@@
struct Odr_ber_tag { /* used to be statics in ber_tag... */
int lcons;
};
int lcons;
};
+#define odr_max(o) ((o)->size - ((o)->bp - (o)->buf))
+#define odr_offset(o) ((o)->bp - (o)->buf)
+
struct Odr_private {
/* stack for constructed types */
#define ODR_MAX_STACK 50
struct Odr_private {
/* stack for constructed types */
#define ODR_MAX_STACK 50
@@
-48,6
+51,8
@@
struct Odr_private {
struct Odr_ber_tag odr_ber_tag;
yaz_iconv_t iconv_handle;
struct Odr_ber_tag odr_ber_tag;
yaz_iconv_t iconv_handle;
+ int error_id;
+ char addinfo[80];
};
/* Private macro.
};
/* Private macro.