[Core, mod_sofia] Add switch_uint31_t type. Fix CSeq bigger than 2^31-1.

This commit is contained in:
Andrey Volk
2024-04-30 21:14:29 +03:00
parent da93927c01
commit 5b1c2688da
4 changed files with 34 additions and 11 deletions
+4
View File
@@ -255,6 +255,10 @@ SWITCH_BEGIN_EXTERN_C
typedef uint8_t switch_byte_t;
typedef struct {
unsigned int value : 31;
} switch_uint31_t;
typedef enum {
SWITCH_PVT_PRIMARY = 0,
SWITCH_PVT_SECONDARY