X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=886f1b61e8fd51ca8abb8e27bc5243dcdb021665;hb=27b510020a28c83feb607998371d824284fc24de;hp=209b33cc5dd7002be134e2daab8b579331d905ae;hpb=2128468a4d09c2dff74dc6143a08333c22f6c67c;p=pazpar2-moved-to-github.git diff --git a/src/session.h b/src/session.h index 209b33c..886f1b6 100644 --- a/src/session.h +++ b/src/session.h @@ -138,6 +138,7 @@ struct hitsbytarget { const char *id; const char *name; Odr_int hits; + Odr_int approximation; int diagnostic; const char *addinfo; int records; @@ -166,7 +167,7 @@ enum pazpar2_error_code session_search(struct session *s, const char *query, struct record_cluster **show_range_start(struct session *s, struct reclist_sortparms *sp, int start, - int *num, int *total, Odr_int *sumhits); + int *num, int *total, Odr_int *sumhits, Odr_int *approximation); void show_range_stop(struct session *s, struct record_cluster **recs); struct record_cluster *show_single_start(struct session *s, const char *id,