X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fber_tag.c;h=b6f76448e6727c0a4204b1fec040e5fa69638048;hb=60a702f390f7e2addfdab79f2328db3ba2897c8b;hp=19c412f703d53a89cc90fe4d92590fcb86a9758f;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/ber_tag.c b/src/ber_tag.c index 19c412f..b6f7644 100644 --- a/src/ber_tag.c +++ b/src/ber_tag.c @@ -1,9 +1,16 @@ /* - * Copyright (c) 1995-2003, Index Data + * Copyright (C) 1995-2005, Index Data ApS * 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.4 2005-01-15 19:47:11 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)