X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Ftpath.h;h=2ddfc101573a9006cf5c50fff6144e58ebf11344;hb=18cc954000e6b33d2316faea946f0576602b60f3;hp=94c50c9fa0de29d07f435a2ec07dbfc37f1a6d1b;hpb=3ffa5dbc563e15bccb012f3d3d00a993f87ace82;p=yaz-moved-to-github.git diff --git a/include/tpath.h b/include/tpath.h index 94c50c9..2ddfc10 100644 --- a/include/tpath.h +++ b/include/tpath.h @@ -25,4 +25,17 @@ * */ -FILE *yaz_path_fopen(char *path, char *name, char *mode); +#ifndef TPATH_H +#define TPATH_H + +#ifdef __cplusplus +extern "C" { +#endif + +FILE *yaz_path_fopen(const char *path, const char *name, const char *mode); + +#ifdef __cplusplus +} +#endif + +#endif