/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
+#include <yaz/yaz-iconv.h>
#include <yaz/snprintf.h>
#include <yaz/oid_util.h>
int i;
oidbuf[0] = '\0';
- for (i = 0; oid[i] != -1 && i < OID_SIZE; i++)
+ for (i = 0; oid[i] != -1 && i < OID_SIZE; i++)
{
yaz_snprintf(tmpbuf, sizeof(tmpbuf)-1, "%d", oid[i]);
if (i > 0)
{
int i = 0;
int val = 0;
- while (isdigit (*(unsigned char *) name))
+ while (yaz_isdigit (*name))
{
val = val*10 + (*name - '0');
name++;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab