-// main config structure
-typedef struct {
- char *logname; // logfile path for info & error log
- char *console; // console device name (can be a file or a tty)
- int localhostOnly;
- int httpdPort;
- char *ldpaths; // list of plugins directories
- char *rootdir; // base dir for httpd file download
- char *rootbase; // Angular HTML5 base URL
- char *rootapi; // Base URL for REST APIs
- char *sessiondir; // where to store mixer session files
- char *token; // initial authentication token [default NULL no session]
- int cacheTimeout;
- int apiTimeout;
- int cntxTimeout; // Client Session Context timeout
- int pluginCount; // loaded plugins count
- AFB_Mode mode; // mode of listening
- AFB_aliasdir *aliasdir; // alias mapping for icons,apps,...
-} AFB_config;
-