X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=comstack%2Fwaislen.c;h=0bf2ef6cae9224efa0bf806662da12ab441d3f9c;hb=7650dadee1e1a910677c8d305aa70dbbf38e79e6;hp=aabe69cb82de2a858d9f4f14c4f03880de2b0637;hpb=b8d21245e1c2faeb7741bf87835ab67b9004f4e1;p=yaz-moved-to-github.git diff --git a/comstack/waislen.c b/comstack/waislen.c index aabe69c..0bf2ef6 100644 --- a/comstack/waislen.c +++ b/comstack/waislen.c @@ -1,10 +1,16 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1999, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: waislen.c,v $ - * Revision 1.3 1996-02-29 14:23:13 adam + * Revision 1.5 1999-11-30 13:47:11 adam + * Improved installation. Moved header files to include/yaz. + * + * Revision 1.4 1999/01/08 11:23:15 adam + * Added const modifier to some of the BER/ODR encoding routines. + * + * Revision 1.3 1996/02/29 14:23:13 adam * Bug fix. * * Revision 1.2 1996/02/26 18:34:44 adam @@ -17,10 +23,12 @@ */ #include +#include +#include /* * Return length of WAIS package or 0 */ -int completeWAIS(unsigned char *buf, int len) +int completeWAIS(const unsigned char *buf, int len) { int i, lval = 0;