-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);
+const char *client_get_id(struct client *cl);
+int client_get_maxrecs(struct client *cl);
+void client_remove_from_session(struct client *c);
+void client_incref(struct client *c);
+void client_got_records(struct client *c);
+void client_lock(struct client *c);
+void client_unlock(struct client *c);
+
+int client_has_facet(struct client *cl, const char *name);
+void client_check_preferred_watch(struct client *cl);
+void client_reingest(struct client *cl);
+