Moved definitions of nmem_block and nmem_control.
[yaz-moved-to-github.git] / include / tpath.h
index 94c50c9..2ddfc10 100644 (file)
  *
  */
 
-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