X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fd1_attset.h;h=93e6ec7d34f71f9b47efedb1b3bb2eef131f054a;hp=191e004056d6f722868e9f531b90c3ddfc1801e9;hb=ffb88e8bb97c6e24989b7f04b8bbf1a4203d2f72;hpb=527e5237725b631a58124f9b0d7b5ce97c62a183 diff --git a/include/d1_attset.h b/include/d1_attset.h index 191e004..93e6ec7 100644 --- a/include/d1_attset.h +++ b/include/d1_attset.h @@ -30,6 +30,10 @@ #include +#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,14 @@ 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); +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