WebSocket API in controller

This commit is contained in:
Thulinma 2018-03-15 13:00:16 +01:00
parent 062d299c44
commit 6e0e66076d
8 changed files with 439 additions and 73 deletions

View file

@ -137,6 +137,9 @@ static inline void show_stackframe(){}
#define SEM_CONF "/MstConfLock"
#define SEM_SESSCACHE "/MstSessCacheLock"
#define SHM_CONF "MstConf"
#define SHM_STATE_LOGS "MstStateLogs"
#define SHM_STATE_ACCS "MstStateAccs"
#define SHM_STATE_STREAMS "MstStateStreams"
#define NAME_BUFFER_SIZE 200 //char buffer size for snprintf'ing shm filenames
#define SHM_SESSIONS "/MstSess"
#define SHM_SESSIONS_ITEM 165 //4 byte crc, 100b streamname, 20b connector, 40b host, 1b sync