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
Changed definition of Z_Triple in file prt-grs.h - member boolean
[yaz-moved-to-github.git]
/
odr
/
ber_any.c
diff --git
a/odr/ber_any.c
b/odr/ber_any.c
index
ace1738
..
7b56f0f
100644
(file)
--- a/
odr/ber_any.c
+++ b/
odr/ber_any.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_any.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_any.c,v $
- * Revision 1.12 1995-09-29 17:12:15 quinn
+ * Revision 1.13 1997-05-14 06:53:56 adam
+ * C++ support.
+ *
+ * Revision 1.12 1995/09/29 17:12:15 quinn
* Smallish
*
* Revision 1.11 1995/09/27 15:02:54 quinn
* Smallish
*
* Revision 1.11 1995/09/27 15:02:54 quinn
@@
-76,14
+79,14
@@
int ber_any(ODR o, Odr_any **p)
*/
int completeBER(unsigned char *buf, int len)
{
*/
int completeBER(unsigned char *buf, int len)
{
- int res, ll, class, tag, cons;
+ int res, ll, zclass, tag, cons;
unsigned char *b = buf;
if (!len)
return 0;
if (!buf[0] && !buf[1])
return 0;
unsigned char *b = buf;
if (!len)
return 0;
if (!buf[0] && !buf[1])
return 0;
- if ((res = ber_dectag(b, &class, &tag, &cons)) <= 0)
+ if ((res = ber_dectag(b, &zclass, &tag, &cons)) <= 0)
return 0;
if (res > len)
return 0;
return 0;
if (res > len)
return 0;