X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-p.h;h=5959a317b0f324b1df9f4230c04d0ea89ce79003;hb=ce46d8646a527a8364d3aa152822b3680a7321bd;hp=e8c58b5d0f82cc3e691d1a7cdd9bf5188550cf8f;hpb=3c287bc1d48ee6a1f300054c2cebd0ba312bd5b9;p=yaz-moved-to-github.git diff --git a/src/zoom-p.h b/src/zoom-p.h index e8c58b5..5959a31 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-2011 Index Data. + * Copyright (C) 1995-2013 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: @@ -48,7 +48,7 @@ typedef enum { zoom_sru_post, zoom_sru_solr } zoom_sru_mode; - + typedef struct ZOOM_task_p *ZOOM_task; @@ -73,6 +73,8 @@ struct ZOOM_connection_p { ODR odr_in; ODR odr_out; ODR odr_print; + ODR odr_save; + char *buf_in; int len_in; char *buf_out; @@ -111,6 +113,7 @@ struct ZOOM_connection_p { int log_details; int log_api; + WRBUF saveAPDU_wrbuf; }; #if ZOOM_RESULT_LISTS @@ -256,7 +259,7 @@ int ZOOM_test_reconnect(ZOOM_connection c); ZOOM_record ZOOM_record_cache_lookup(ZOOM_resultset r, int pos, const char *syntax, const char *elementSetName); -void ZOOM_record_cache_add(ZOOM_resultset r, Z_NamePlusRecord *npr, +void ZOOM_record_cache_add(ZOOM_resultset r, Z_NamePlusRecord *npr, int pos, const char *syntax, const char *elementSetName, const char *schema, @@ -281,6 +284,7 @@ void ZOOM_set_HTTP_error(ZOOM_connection c, int error, ZOOM_Event ZOOM_connection_get_event(ZOOM_connection c); void ZOOM_connection_remove_events(ZOOM_connection c); void ZOOM_Event_destroy(ZOOM_Event event); +zoom_ret ZOOM_send_GDU(ZOOM_connection c, Z_GDU *gdu); /* * Local variables: