New windows NT/95 port using MSV5.0. To export DLL functions the
[yaz-moved-to-github.git] / include / d1_attset.h
index 191e004..6989b82 100644 (file)
 
 #include <oid.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * This structure describes a attset, perhaps made up by inclusion
  * (supersetting) of other attribute sets. When indexing and searching,
@@ -66,6 +70,11 @@ typedef struct data1_attset
     struct data1_attset *next;       /* sibling */
 } data1_attset;
 
-data1_att *data1_getattbyname(data1_attset *s, char *name);
-data1_attset *data1_read_attset(char *file);
+YAZ_EXPORT data1_att *data1_getattbyname(data1_attset *s, char *name);
+YAZ_EXPORT data1_attset *data1_read_attset(char *file);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif