New optional argument, startrecs, for cmd=search
[pazpar2-moved-to-github.git] / src / client.h
index 5772481..93b2e32 100644 (file)
@@ -71,7 +71,8 @@ void client_destroy(struct client *c);
 
 void client_set_connection(struct client *cl, struct connection *con);
 void client_disconnect(struct client *cl);
-int client_prep_connection(struct client *cl);
+int client_prep_connection(struct client *cl,
+                           int operation_timeout, int session_timeout);
 void client_start_search(struct client *cl);
 void client_set_session(struct client *cl, struct session *se);
 int client_is_active(struct client *cl);
@@ -84,6 +85,8 @@ int client_get_diagnostic(struct client *cl);
 void client_set_database(struct client *cl, struct session_database *db);
 struct host *client_get_host(struct client *cl);
 const char *client_get_url(struct client *cl);
+void client_set_maxrecs(struct client *cl, int v);
+void client_set_startrecs(struct client *cl, int v);
 
 #endif