X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fd1_attset.h;h=6989b82940436f17a81731dddd81a5578cb475e0;hb=9a2b41f58cf220c9583b654ff77776a18e958b44;hp=c2fb952e8573e8518dfd1fe4852685c96ba70298;hpb=1ef40949fde41e67c12cb83ed039cbe6c6342f4c;p=yaz-moved-to-github.git diff --git a/include/d1_attset.h b/include/d1_attset.h index c2fb952..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,7 +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