#define SRV_SSL_O_EARLY_DATA 0x400 /* Allow using early data */
#endif
+/* The server names dictionary */
+extern struct dict server_name_dict;
+
struct pid_list {
struct list list;
pid_t pid;
#include <types/applet.h>
#include <types/cli.h>
+#include <types/dict.h>
#include <types/global.h>
#include <types/cli.h>
#include <types/dns.h>
struct task *idle_conn_cleanup[MAX_THREADS] = { NULL };
struct list toremove_connections[MAX_THREADS];
+/* The server names dictionary */
+struct dict server_name_dict = {
+ .name = "server names",
+ .values = EB_ROOT_UNIQUE,
+};
+
int srv_downtime(const struct server *s)
{
if ((s->cur_state != SRV_ST_STOPPED) && s->last_change < now.tv_sec) // ignore negative time