X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fd1_attset.h;h=82f0531f13359d0fe82441547110cc761db9ab9e;hp=013bfa369244462381db8ed6979e77d25b1fdf64;hb=db9513f9eca4ef13d3cea779a695bb822fd973a9;hpb=2cfcdda457bc91588509f801ba55e956d37368f9 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