#define ENCODE_FAIL -1
#define TEID_BIT_SIZE 24
-char encBuf[ENC_BUF_MAX_LEN];
-int encBufSize;
+extern char encBuf[ENC_BUF_MAX_LEN];
+extern int encBufSize;
int PrepFinalEncBuf(const void *buffer, size_t size, void *encodedBuf);
uint8_t fillBitString(BIT_STRING_t *id, uint8_t unusedBits, uint8_t byteSize, uint64_t val);