X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzgdu.c;h=182f2018f9ca4ad0518110b0583e22794d0eb589;hp=f79bc9b7c4721a5e5d069eddce10f7e798521ed9;hb=3c287bc1d48ee6a1f300054c2cebd0ba312bd5b9;hpb=f9d5791b3b7222309b5112e8e269ff36325d7498 diff --git a/src/zgdu.c b/src/zgdu.c index f79bc9b..182f201 100644 --- a/src/zgdu.c +++ b/src/zgdu.c @@ -1,20 +1,20 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. - * - * $Id: zgdu.c,v 1.19 2007-01-11 10:55:57 adam Exp $ */ - /** * \file zgdu.c * \brief Implements HTTP and Z39.50 encoding and decoding. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include -int z_GDU (ODR o, Z_GDU **p, int opt, const char *name) +int z_GDU(ODR o, Z_GDU **p, int opt, const char *name) { if (o->direction == ODR_DECODE) { *p = (Z_GDU *) odr_malloc(o, sizeof(**p)); @@ -57,6 +57,7 @@ int z_GDU (ODR o, Z_GDU **p, int opt, const char *name) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab