X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fd1_attset.h;h=6989b82940436f17a81731dddd81a5578cb475e0;hp=191e004056d6f722868e9f531b90c3ddfc1801e9;hb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;hpb=527e5237725b631a58124f9b0d7b5ce97c62a183 diff --git a/include/d1_attset.h b/include/d1_attset.h index 191e004..6989b82 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,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