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
About log system changes
[yaz-moved-to-github.git]
/
src
/
ber_tag.c
diff --git
a/src/ber_tag.c
b/src/ber_tag.c
index
19c412f
..
9e4d31e
100644
(file)
--- a/
src/ber_tag.c
+++ b/
src/ber_tag.c
@@
-1,9
+1,16
@@
/*
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
*
- * $Id: ber_tag.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_tag.c,v 1.3 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_tag.c
+ * \brief Implements BER tags encoding and decoding
+ *
+ * This source file implements BER encoding and decoding of
+ * the tags.
*/
#if HAVE_CONFIG_H
#include <config.h>
*/
#if HAVE_CONFIG_H
#include <config.h>
@@
-55,7
+62,7
@@
int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt,
return -1;
#ifdef ODR_DEBUG
fprintf(stderr, "\n[class=%d,tag=%d,cons=%d,stackp=%d]", zclass, tag,
return -1;
#ifdef ODR_DEBUG
fprintf(stderr, "\n[class=%d,tag=%d,cons=%d,stackp=%d]", zclass, tag,
- *constructed, o->stackp);
+ *constructed, o->op->stackp);
#endif
return 1;
#endif
return 1;
@@
-84,7
+91,7
@@
int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt,
fprintf(stderr,
"\n[class=%d,tag=%d,cons=%d,stackp=%d]",
odr_ber_tag->lclass, odr_ber_tag->ltag,
fprintf(stderr,
"\n[class=%d,tag=%d,cons=%d,stackp=%d]",
odr_ber_tag->lclass, odr_ber_tag->ltag,
- odr_ber_tag->lcons, o->stackp);
+ odr_ber_tag->lcons, o->op->stackp);
#endif
}
if (zclass == odr_ber_tag->lclass && tag == odr_ber_tag->ltag)
#endif
}
if (zclass == odr_ber_tag->lclass && tag == odr_ber_tag->ltag)