-/* $Id: util.h,v 1.10 2006-11-14 08:12:07 adam Exp $
- Copyright (C) 1995-2006
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1995-2008 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#define ZEBRA_FAIL -1
#define ZEBRA_OK 0
-typedef zint SYSNO;
+YAZ_EXPORT zint atoi_zn(const char *buf, zint len);
-YAZ_EXPORT
-zint atoi_zn (const char *buf, zint len);
+YAZ_EXPORT void zebra_zint_encode(char **dst, zint pos);
-YAZ_EXPORT
-void zebra_zint_encode(char **dst, zint pos);
+YAZ_EXPORT void zebra_zint_decode(const char **src, zint *pos);
-YAZ_EXPORT
-void zebra_zint_decode(const char **src, zint *pos);
+YAZ_EXPORT void zebra_exit(const char *msg);
-YAZ_EXPORT
-void zebra_exit(const char *msg);
+YAZ_EXPORT zint atozint(const char *src);
YAZ_END_CDECL