X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Fres.h;h=8c687159dfe1949442796fd4a71b94ea9b0fce0f;hb=3a4f37bf02075e0ad4b56b2b1f7bf9ac9cada998;hp=d355f37f8af29d2b6655dc800df8aed1617073f7;hpb=9402543e65954f4106b9e6d321a4f8dbee1a7d45;p=idzebra-moved-to-github.git diff --git a/include/idzebra/res.h b/include/idzebra/res.h index d355f37..8c68715 100644 --- a/include/idzebra/res.h +++ b/include/idzebra/res.h @@ -1,6 +1,6 @@ -/* $Id: res.h,v 1.2 2004-09-28 13:31:20 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: res.h,v 1.6 2005-08-17 21:28:07 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -20,10 +20,10 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef RES_H -#define RES_H +#ifndef IDZEBRA_RES_H +#define IDZEBRA_RES_H -#include +#include YAZ_BEGIN_CDECL @@ -36,6 +36,9 @@ YAZ_EXPORT void res_close (Res r); YAZ_EXPORT +void res_clear (Res r); + +YAZ_EXPORT const char *res_get (Res r, const char *name); YAZ_EXPORT @@ -58,6 +61,9 @@ YAZ_EXPORT const char *res_get_prefix (Res r, const char *name, const char *prefix, const char *def); +YAZ_EXPORT +ZEBRA_RES res_get_int(Res r, const char *name, int *val); + YAZ_END_CDECL #endif