X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fill-get.c;h=87e5e1a23dd958c8d35a295eee6662a58d2e8acb;hb=31c5e5fa92f5980deac3c042b765e4148329cd1b;hp=87f9d6cb09d4c2d04f172466739c6a51ead4e16f;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/src/ill-get.c b/src/ill-get.c index 87f9d6c..87e5e1a 100644 --- a/src/ill-get.c +++ b/src/ill-get.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, 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.6 2007-01-03 08:42:15 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