X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fd1_attset.h;h=82f0531f13359d0fe82441547110cc761db9ab9e;hb=4e664c278636002a3a0c7897d233a258ac1ec18d;hp=013bfa369244462381db8ed6979e77d25b1fdf64;hpb=0d9eca26da6a9369bb00efd75a9472380526f547;p=yaz-moved-to-github.git diff --git a/include/d1_attset.h b/include/d1_attset.h index 013bfa3..82f0531 100644 --- a/include/d1_attset.h +++ b/include/d1_attset.h @@ -75,7 +75,7 @@ struct data1_attset oid_value reference; /* external ID of attset */ data1_att *atts; /* attributes */ data1_attset_child *children; /* included attset */ - data1_attset *next; /* sibling */ + data1_attset *next; /* next in cache */ }; typedef struct data1_handle_info *data1_handle; @@ -84,6 +84,8 @@ YAZ_EXPORT data1_att *data1_getattbyname(data1_handle dh, data1_attset *s, char *name); YAZ_EXPORT data1_attset *data1_read_attset(data1_handle dh, const char *file); +YAZ_EXPORT data1_attset *data1_empty_attset(data1_handle dh); + #ifdef __cplusplus } #endif