From 746962510ff7cfd468876f146fc9a0999ca70265 Mon Sep 17 00:00:00 2001 From: francesco_carli <62562180+fcarli3@users.noreply.github.com> Date: Thu, 24 Sep 2020 20:00:32 +0200 Subject: [PATCH] Add new enum data type and indicators --- include/n2n_define.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/n2n_define.h b/include/n2n_define.h index 97e913d..abba7cb 100644 --- a/include/n2n_define.h +++ b/include/n2n_define.h @@ -63,6 +63,10 @@ #define N2N_COMPRESSION_ID_ZSTD 3 /* set if '-z2' cli option is present, available only if compiled with zstd lib */ #define ZSTD_COMPRESSION_LEVEL 7 /* 1 (faster) ... 22 (more compression) */ +/* Federation name and indicators */ +#define FEDERATION_NAME "*Federation" +enum federation{IS_NO_FEDERATION = 0,IS_FEDERATION = 1}; + /* (un)purgeable community indicator (supernode) */ #define COMMUNITY_UNPURGEABLE 0 #define COMMUNITY_PURGEABLE 1