Support for reloading config from disk, writing config to disk after 60 seconds of no changes, reloading config from disk on API call request
This commit is contained in:
parent
cac86fff57
commit
132e59db51
8 changed files with 339 additions and 222 deletions
15
lib/comms.h
15
lib/comms.h
|
@ -3,21 +3,6 @@
|
|||
#include "shared_memory.h"
|
||||
#include "util.h"
|
||||
|
||||
#define COMM_STATUS_SOURCE 0x80
|
||||
#define COMM_STATUS_DONOTTRACK 0x40
|
||||
#define COMM_STATUS_DISCONNECT 0x20
|
||||
#define COMM_STATUS_REQDISCONNECT 0x10
|
||||
#define COMM_STATUS_ACTIVE 0x1
|
||||
#define COMM_STATUS_INVALID 0x0
|
||||
#define SESS_BUNDLE_DEFAULT_VIEWER 14
|
||||
#define SESS_BUNDLE_DEFAULT_OTHER 15
|
||||
#define SESS_DEFAULT_STREAM_INFO_MODE 1
|
||||
#define SESS_HTTP_AS_VIEWER 1
|
||||
#define SESS_HTTP_AS_OUTPUT 2
|
||||
#define SESS_HTTP_DISABLED 3
|
||||
#define SESS_HTTP_AS_UNSPECIFIED 4
|
||||
#define SESS_TKN_DEFAULT_MODE 15
|
||||
|
||||
|
||||
#define COMM_LOOP(comm, onActive, onDisconnect) \
|
||||
{\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue