C++ support.
[yaz-moved-to-github.git] / include / tpath.h
index 9bb286e..2ddfc10 100644 (file)
  *
  */
 
+#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