X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fcopy_types.h;h=95592d40734349065d090291cc8db5bebfd8a11a;hb=f00d2bb50f84184c7682bd31a5361648a909f9f6;hp=9525f5c097f23e44cc4b7984e9cc09cd26a37005;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;p=yaz-moved-to-github.git diff --git a/include/yaz/copy_types.h b/include/yaz/copy_types.h index 9525f5c..95592d4 100644 --- a/include/yaz/copy_types.h +++ b/include/yaz/copy_types.h @@ -43,12 +43,26 @@ Z_RPNQuery *yaz_copy_z_RPNQuery(Z_RPNQuery *q, ODR out); YAZ_EXPORT Z_Query *yaz_copy_Z_Query(Z_Query *q, ODR out); +YAZ_EXPORT +Z_RPNQuery *yaz_clone_z_RPNQuery(Z_RPNQuery *q, NMEM out); + +YAZ_EXPORT +Z_Query *yaz_clone_z_Query(Z_Query *q, NMEM out); + +YAZ_EXPORT +Z_NamePlusRecord *yaz_clone_z_NamePlusRecord(Z_NamePlusRecord *s, NMEM out); + +YAZ_EXPORT +Z_RecordComposition *yaz_clone_z_RecordComposition(Z_RecordComposition *s, + NMEM out); + YAZ_END_CDECL #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab