void client_start_search(struct client *cl);
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);
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);
+
#endif
/*