#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,
struct data1_attset *next; /* sibling */
} data1_attset;
-data1_att *data1_getattbyname(data1_attset *s, char *name);
-data1_attset *data1_read_attset(char *file);
+typedef struct data1_handle_info *data1_handle;
+
+YAZ_EXPORT data1_att *data1_getattbyname(data1_handle dh, data1_attset *s,
+ char *name);
+YAZ_EXPORT data1_attset *data1_read_attset(data1_handle dh, char *file);
+
+#ifdef __cplusplus
+}
+#endif
#endif