X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fill-get.c;h=87e5e1a23dd958c8d35a295eee6662a58d2e8acb;hp=d0d107b003ee9206ca179249851c2cda6c901973;hb=b6aa93dcb5c07ed09b664c006b5f33b0135a0854;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/ill-get.c b/src/ill-get.c index d0d107b..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); }