Skip to content

Commit

Permalink
b2b_entities: export max entity key size through API header
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu committed May 6, 2022
1 parent 4a8c820 commit e834389
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion modules/b2b_entities/b2b_entities.h
Expand Up @@ -46,7 +46,6 @@

extern int uac_auth_loaded;
extern str b2b_key_prefix;
#define B2B_MAX_PREFIX_LEN 5

extern unsigned int server_hsize;
extern unsigned int client_hsize;
Expand Down
3 changes: 3 additions & 0 deletions modules/b2b_entities/b2be_load.h
Expand Up @@ -50,6 +50,9 @@
#define B2B_NOTIFY_FL_TERMINATED (1<<0)
#define B2B_NOTIFY_FL_ACK_NEG (1<<1)

#define B2B_MAX_PREFIX_LEN 5
#define B2B_MAX_KEY_SIZE (B2B_MAX_PREFIX_LEN+4+10+10+INT2STR_MAX_LEN)

enum b2b_entity_type {B2B_SERVER=0, B2B_CLIENT, B2B_NONE};

typedef struct client_info
Expand Down
2 changes: 0 additions & 2 deletions modules/b2b_entities/dlg.h
Expand Up @@ -43,8 +43,6 @@

#define DLG_ESTABLISHED 1

#define B2B_MAX_KEY_SIZE (B2B_MAX_PREFIX_LEN+4+10+10+INT2STR_MAX_LEN)

#define B2BE_STORAGE_BIN_TYPE 1
#define B2BE_STORAGE_BIN_VERS 1

Expand Down

0 comments on commit e834389

Please sign in to comment.