X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fdata1.h;h=e8da02442ac81dca9c163c94267bca4dbfe06bb7;hp=f001246313d8c22846beed68f2fcfe94ffaf5966;hb=e1af980ed4466d784db2395ad5bdddadb8a24504;hpb=964a340466d80d4c992aaa5a81159f6c13fb70d8 diff --git a/include/data1.h b/include/data1.h index f001246..e8da024 100644 --- a/include/data1.h +++ b/include/data1.h @@ -24,7 +24,11 @@ * OF THIS SOFTWARE. * * $Log: data1.h,v $ - * Revision 1.34 1998-02-27 14:08:04 adam + * Revision 1.35 1998-03-05 08:15:32 adam + * Implemented data1_add_insert_taggeddata utility which is more flexible + * than data1_insert_taggeddata. + * + * Revision 1.34 1998/02/27 14:08:04 adam * Added const to some char pointer arguments. * Reworked data1_read_node so that it doesn't create a tree with * pointers to original "SGML"-buffer. @@ -499,6 +503,13 @@ YAZ_EXPORT char *data1_insert_string (data1_handle dh, data1_node *res, NMEM m, const char *str); YAZ_EXPORT data1_node *data1_read_sgml (data1_handle dh, NMEM m, const char *buf); +YAZ_EXPORT void data1_absyn_trav (data1_handle dh, void *handle, + void (*fh)(data1_handle dh, + void *h, data1_absyn *a)); +YAZ_EXPORT data1_node +*data1_add_insert_taggeddata(data1_handle dh, data1_node *root, + data1_node *at, const char *tagname, NMEM m, + int first_flag, int local_allowed); #ifdef __cplusplus } #endif