X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fill-get.c;h=87e5e1a23dd958c8d35a295eee6662a58d2e8acb;hp=4cfaa6a7f1514745ff1b01126ee59476779dffc6;hb=a85807bde8a4a08706d266bd7dd089fb6778e281;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/ill-get.c b/src/ill-get.c index 4cfaa6a..87e5e1a 100644 --- a/src/ill-get.c +++ b/src/ill-get.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: ill-get.c,v 1.5 2005-06-25 15:46:04 adam Exp $ */ /** @@ -37,8 +35,8 @@ bool_t *ill_get_bool (struct ill_get_ctl *gc, const char *name, return r; } -int *ill_get_int (struct ill_get_ctl *gc, const char *name, - const char *sub, int val) +Odr_int *ill_get_int(struct ill_get_ctl *gc, const char *name, + const char *sub, Odr_int val) { ODR o = gc->odr; char element[128]; @@ -56,8 +54,8 @@ int *ill_get_int (struct ill_get_ctl *gc, const char *name, return odr_intdup(o, val); } -int *ill_get_enumerated (struct ill_get_ctl *gc, const char *name, - const char *sub, int val) +Odr_int *ill_get_enumerated (struct ill_get_ctl *gc, const char *name, + const char *sub, Odr_int val) { return ill_get_int(gc, name, sub, val); } @@ -668,6 +666,7 @@ ILL_APDU *ill_get_APDU ( /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab