X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-p.h;h=f227f134feff69fe071cb0460e03c7077a5a7e41;hp=ccb9f39f77007272b71c94ec7ff15a604bc135d8;hb=ad4b64e5b3ab9ebc4b2e8184a3782b10962f7d3d;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/zoom-p.h b/src/zoom-p.h index ccb9f39..f227f13 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data. + * Copyright (C) 1995-2010 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -103,6 +103,7 @@ struct ZOOM_connection_p { ZOOM_Event m_queue_front; ZOOM_Event m_queue_back; zoom_sru_mode sru_mode; + int no_redirects; /* 0 for no redirects. >0 for number of redirects */ }; struct ZOOM_options_entry { @@ -130,7 +131,7 @@ struct ZOOM_resultset_p { Z_SortKeySpecList *r_sort_spec; ZOOM_query query; int refcount; - int size; + Odr_int size; int step; int piggyback; char *setname; @@ -146,12 +147,15 @@ struct ZOOM_resultset_p { struct ZOOM_record_p { ODR odr; - WRBUF wrbuf_marc; - WRBUF wrbuf_iconv; - WRBUF wrbuf_opac; + WRBUF wrbuf; Z_NamePlusRecord *npr; const char *schema; +#if YAZ_HAVE_XML2 + xmlChar *xml_mem; + int xml_size; +#endif + const char *diag_uri; const char *diag_message; const char *diag_details;