X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fbackend.h;h=5667e5c40db9cfeb6737ac91f882493ee03fee63;hp=aa6a9ea500ade5d1ceabe659ff2a31945ef5a6db;hb=6e3d70edfadd110351b71466c51632e288e31773;hpb=6b76baf0fb5d0d437caedd8076f77f372d775758 diff --git a/include/yaz/backend.h b/include/yaz/backend.h index aa6a9ea..5667e5c 100644 --- a/include/yaz/backend.h +++ b/include/yaz/backend.h @@ -61,7 +61,7 @@ typedef struct { bend_request request; bend_association association; int *fd; - odr_int_t hits; /* number of hits */ + Odr_int hits; /* number of hits */ int errcode; /* 0==OK */ char *errstring; /* system error string or NULL */ Z_OtherInformation *search_info; /* additional search info */ @@ -70,6 +70,8 @@ typedef struct { int *srw_setnameIdleTime; /* holds SRU/SRW life-time */ int estimated_hit_count; /* if hit count is estimated */ int partial_resultset; /* if result set is partial */ + Z_SRW_extra_arg *extra_args; /* extra URL arguments */ + char *extra_response_data; /* extra XML response. */ } bend_search_rr; /** \brief Information for present handler. Does not replace bend_fetch. */ @@ -114,7 +116,7 @@ typedef struct bend_fetch_rr { /** \brief Information for scan entry */ struct scan_entry { char *term; /* the returned scan term */ - odr_int_t occurrences;/* no of occurrences or -1 if error (see below) */ + Odr_int occurrences;/* no of occurrences or -1 if error (see below) */ int errcode; /* Bib-1 diagnostic code; only used when occur.= -1 */ char *errstring; /* Additional string */ char *display_term; @@ -135,8 +137,8 @@ typedef struct bend_scan_rr { ODR stream; /* encoding stream - memory source if required */ ODR print; /* printing stream */ - odr_int_t *step_size; /* step size */ - odr_int_t term_position; /* desired index of term in result list/returned */ + Odr_int *step_size; /* step size */ + Odr_int term_position; /* desired index of term in result list/returned */ int num_entries; /* number of entries requested/returned */ /* scan term entries. The called handler does not have @@ -178,8 +180,8 @@ typedef struct bend_delete_rr { int num_setnames; char **setnames; Z_ReferenceId *referenceId; - int delete_status; /* status for the whole operation */ - odr_int_t *statuses; /* status each set - indexed as setnames */ + int delete_status; /* status for the whole operation */ + Odr_int *statuses; /* status each set - indexed as setnames */ ODR stream; ODR print; } bend_delete_rr;