X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=odr%2Fber_int.c;h=7e51ff6f3ae9369a82c0cba464ee6b51db0c03da;hp=46422d37908ff1d416b3a581310dcc656c57e826;hb=aa45b978839c268db6eccafc6a13452d99a7929c;hpb=aa82967af8f06004b567ad1ed40c67b056c44e7b diff --git a/odr/ber_int.c b/odr/ber_int.c index 46422d3..7e51ff6 100644 --- a/odr/ber_int.c +++ b/odr/ber_int.c @@ -1,10 +1,19 @@ /* - * Copyright (C) 1994, Index Data I/S - * All rights reserved. + * Copyright (c) 1995, Index Data + * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: ber_int.c,v $ - * Revision 1.6 1995-04-18 08:15:14 quinn + * Revision 1.9 1995-09-28 10:12:39 quinn + * Windows-support changes + * + * Revision 1.8 1995/09/27 15:02:55 quinn + * Modified function heads & prototypes. + * + * Revision 1.7 1995/05/16 08:50:44 quinn + * License, documentation, and memory fixes + * + * Revision 1.6 1995/04/18 08:15:14 quinn * Added dynamic memory allocation on encoding (whew). Code is now somewhat * neater. We'll make the same change for decoding one day. * @@ -27,13 +36,17 @@ #include #include +#ifdef WINDOWS +#include +#else #include /* for htons... */ +#endif #include static int ber_encinteger(ODR o, int val); static int ber_decinteger(unsigned char *buf, int *val); -int ber_integer(ODR o, int *val) +int MDF ber_integer(ODR o, int *val) { int res;