wrbuf_printf(c->wrbuf, "<session_nmem>%zu</session_nmem>\n", session_nmem);
}
+static void cmd_service(struct http_channel *c)
+{
+ struct http_session *s = locate_session(c);
+ if (!s)
+ return;
+
+ response_open(c, "service");
+ response_close(c, "service");
+ release_session(c, s);
+}
+
static void cmd_session_status(struct http_channel *c)
{
struct http_session *s = locate_session(c);
{ "exit", cmd_exit },
{ "session-status", cmd_session_status },
{ "server-status", cmd_server_status },
+ { "service", cmd_service },
{ "ping", cmd_ping },
{ "record", cmd_record },
{ "info", cmd_info },
CCL_bibset ccl_bibset;
struct database *databases;
struct conf_server *server;
+ xmlNode *xml_node;
};
int conf_service_metadata_field_id(struct conf_service *service, const char * name);