#include "compat_libevent.h"
#define SCHEDULER_PRIVATE_
+#define SCHEDULER_KIST_PRIVATE
#include "scheduler.h"
#include <event2/event.h>
* Defined in scheduler_kist.c
*********************************/
+#ifdef SCHEDULER_KIST_PRIVATE
+
/* Socke table entry which holds information of a channel's socket and kernel
* TCP information. Only used by KIST. */
typedef struct socket_table_ent_s {
extern int32_t sched_run_interval;
#endif /* TOR_UNIT_TESTS */
+#endif /* SCHEDULER_KIST_PRIVATE */
+
/*********************************
* Defined in scheduler_vanilla.c
*********************************/
/* Copyright (c) 2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+#define SCHEDULER_KIST_PRIVATE
+
#include <event2/event.h>
#include <netinet/tcp.h>