#define CLIENT_H
#include "facet_limit.h"
+#include "reclists.h"
struct client;
struct connection;
iochan_man_t iochan,
const struct timeval *abstime);
int client_start_search(struct client *cl);
+int client_parse_init(struct client *cl, int same_search);
int client_parse_range(struct client *cl, const char *startrecs, const char *maxrecs);
+int client_parse_sort(struct client *cl, struct reclist_sortparms *sp);
void client_set_session(struct client *cl, struct session *se);
int client_is_active(struct client *cl);
int client_is_active_preferred(struct client *cl);
struct client *client_next_in_session(struct client *cl);
int client_parse_query(struct client *cl, const char *query,
- facet_limits_t facet_limits,
- //const char *startrecs, const char *maxrecs,
- CCL_bibset bibset);
+ facet_limits_t facet_limits);
Odr_int client_get_hits(struct client *cl);
Odr_int client_get_approximation(struct client *cl);
int client_get_num_records(struct client *cl);
int client_get_num_records_filtered(struct client *cl);
-int client_get_diagnostic(struct client *cl, const char **addinfo);
+int client_get_diagnostic(struct client *cl,
+ const char **message, const char **addinfo);
void client_set_diagnostic(struct client *cl, int diagnostic,
- const char *addinfo);
+ const char *message, const char *addinfo);
void client_set_database(struct client *cl, struct session_database *db);
const char *client_get_id(struct client *cl);
int client_get_maxrecs(struct client *cl);