}
}
#endif
- wrbuf_printf(c->wrbuf, " <sessions>%d</sessions>\n", sessions_count());
+ wrbuf_printf(c->wrbuf, " <sessions>%d</sessions>\n", sessions_get_count());
wrbuf_printf(c->wrbuf, " <clients>%d</clients>\n", clients_count());
print_meminfo(c->wrbuf);
info_services(c->server, c->wrbuf);
struct hitsbytarget *get_hitsbytarget(struct session *s, int *count, NMEM nmem);
struct session *session_create(NMEM nmem, struct conf_service *service,
unsigned session_id);
-int sessions_count(void);
void session_destroy(struct session *s);
void session_init_databases(struct session *s);
void statistics(struct session *s, struct statistics *stat);
+int sessions_get_count(void);
+
void session_sort(struct session *se, struct reclist_sortparms *sp,
const char *mergekey, const char *rank);