X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Futil.h;h=3e7a8902fcbcdd48a490f9c284cf8db6b2628f30;hb=21f90a8618faec6bee8d125c12088b74db8eb8b9;hp=1e3516481a24740cabf660419b31a157d7c178bb;hpb=0f78f3fe78e859d9f0d3f0d3e13fcd28085dd427;p=idzebra-moved-to-github.git diff --git a/include/idzebra/util.h b/include/idzebra/util.h index 1e35164..3e7a890 100644 --- a/include/idzebra/util.h +++ b/include/idzebra/util.h @@ -1,5 +1,5 @@ -/* $Id: util.h,v 1.10 2006-11-14 08:12:07 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: util.h,v 1.15 2007-01-15 20:08:24 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -91,19 +91,15 @@ typedef short ZEBRA_RES; #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