X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fber_tag.c;h=9e4d31e3bf6dd3bd768abff4f4e9940ee47e1cc6;hb=5c3d2d2ab097e4bb59ba5718a396b020a2d302c0;hp=19c412f703d53a89cc90fe4d92590fcb86a9758f;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/ber_tag.c b/src/ber_tag.c index 19c412f..9e4d31e 100644 --- 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. - * 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 @@ -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, - *constructed, o->stackp); + *constructed, o->op->stackp); #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, - 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)