summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/ipcp/unicast.cmake4
-rw-r--r--include/ouroboros/serdes-oep.h8
2 files changed, 4 insertions, 8 deletions
diff --git a/cmake/ipcp/unicast.cmake b/cmake/ipcp/unicast.cmake
index 8517f8af..2a2f7a3f 100644
--- a/cmake/ipcp/unicast.cmake
+++ b/cmake/ipcp/unicast.cmake
@@ -7,6 +7,10 @@ set(IPCP_UNICAST_MPL 100 CACHE STRING
"Default maximum packet lifetime for the Unicast IPCP, in ms")
set(PFT_SIZE 256 CACHE STRING
"Prefix forwarding table size for the Unicast IPCP")
+set(DEBUG_PROTO_DHT FALSE CACHE BOOL
+ "Add DHT protocol debug logging")
+set(DEBUG_PROTO_LS FALSE CACHE BOOL
+ "Add link state protocol debug logging")
# Generate DHT protobuf files
protobuf_generate_c(DHT_PROTO_SRCS DHT_PROTO_HDRS "${UNICAST_SOURCE_DIR}/dir/dht.proto")
diff --git a/include/ouroboros/serdes-oep.h b/include/ouroboros/serdes-oep.h
index af4446c1..f7d8561a 100644
--- a/include/ouroboros/serdes-oep.h
+++ b/include/ouroboros/serdes-oep.h
@@ -66,12 +66,4 @@ ssize_t enroll_ack_ser(const struct enroll_ack * ack,
int enroll_ack_des(struct enroll_ack * ack,
const buffer_t buf);
-#ifdef DEBUG_PROTO_OEP
-void debug_enroll_req(const struct enroll_req * req);
-
-void debug_enroll_resp(const struct enroll_resp * resp);
-
-void debug_enroll_ack(const struct enroll_ack * ack);
-#endif /* DEBUG_PROTO_OEP */
-
#endif /* OUROBOROS_LIB_SERDES_OEP_H*/