zoomtst3: print event name
[yaz-moved-to-github.git] / src / ill-get.c
index 87f9d6c..87e5e1a 100644 (file)
@@ -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