X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr-priv.h;h=f968edd686a433136d10c97d9d8c71ef3a6bcfa3;hp=7d5cfee286f963e5a640e6bd714d1bad2188ee0a;hb=a3fb0c980a8e4d3ef7231abb92f0c399197ed97d;hpb=ca322d4058580c495ce5e3e25d83b6a63a499d9e diff --git a/src/odr-priv.h b/src/odr-priv.h index 7d5cfee..f968edd 100644 --- a/src/odr-priv.h +++ b/src/odr-priv.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2008, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -63,11 +63,11 @@ struct Odr_ber_tag { */ struct odr_constack { - const unsigned char *base; /** starting point of data */ + const char *base; /** starting point of data */ int base_offset; int len; /** length of data, if known, else -1 (decoding only) */ - const unsigned char *lenb; /** where to encode length */ + const char *lenb; /** where to encode length */ int len_offset; int lenlen; /** length of length-field */ const char *name; /** name of stack entry */ @@ -154,6 +154,7 @@ struct Odr_private { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab