X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fill-get.c;h=87e5e1a23dd958c8d35a295eee6662a58d2e8acb;hp=08a6657b7dbf8816b04565b1318a50b5b66efc22;hb=b6aa93dcb5c07ed09b664c006b5f33b0135a0854;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/ill-get.c b/src/ill-get.c index 08a6657..87e5e1a 100644 --- a/src/ill-get.c +++ b/src/ill-get.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ @@ -35,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]; @@ -54,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); } @@ -666,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