X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fres.h;h=0836daea1f8f00cf30f7cdb6ef8f23b6c997c9f7;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=d742fa7d8f26fe5d14115feda36aa87ee51b435c;hpb=de4ada45ce039553f8322e620cc047d8cf4a065e;p=idzebra-moved-to-github.git diff --git a/include/res.h b/include/res.h index d742fa7..0836dae 100644 --- a/include/res.h +++ b/include/res.h @@ -1,10 +1,14 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1997, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: res.h,v $ - * Revision 1.6 1996-10-29 13:44:12 adam + * Revision 1.7 1997-09-05 15:30:02 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.6 1996/10/29 13:44:12 adam * Added res_get_match. * * Revision 1.5 1994/09/16 14:37:46 quinn @@ -24,6 +28,10 @@ #ifndef RES_H #define RES_H +#ifdef __cplusplus +extern "C" { +#endif + struct res_entry { char *name; char *value; @@ -45,4 +53,9 @@ void res_put (Res r, const char *name, const char *value); void res_trav (Res r, const char *prefix, void (*f)(const char *name, const char *value)); int res_write (Res r); + +#ifdef __cplusplus +} +#endif + #endif