Browse Source
Add new enum data type and indicators
pull/439/head
francesco_carli
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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 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) */ |
|
|
#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) */ |
|
|
/* (un)purgeable community indicator (supernode) */ |
|
|
#define COMMUNITY_UNPURGEABLE 0 |
|
|
#define COMMUNITY_UNPURGEABLE 0 |
|
|
#define COMMUNITY_PURGEABLE 1 |
|
|
#define COMMUNITY_PURGEABLE 1 |
|
|