/*
- * Copyright (C) 2015, 2016 "IoT.bzh"
+ * Copyright (C) 2015, 2016, 2017 "IoT.bzh"
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef LOCAL_DEF_H
-#define LOCAL_DEF_H
#pragma once
char *console; // console device name (can be a file or a tty)
int httpdPort;
char *ldpaths; // list of plugins directories
- char *rootdir; // base dir for httpd file download
+ char *rootdir; // base dir for files
+ char *roothttp; // directory for http files
char *rootbase; // Angular HTML5 base URL
char *rootapi; // Base URL for REST APIs
char *sessiondir; // where to store mixer session files
int cacheTimeout;
int apiTimeout;
int cntxTimeout; // Client Session Context timeout
+ int nbSessionMax; // max count of sessions
int mode; // mode of listening
int aliascount;
+ int tracereq;
struct afb_config_item *items;
struct {
char *url;
} aliasdir[MAX_ALIAS]; // alias mapping for icons,apps,...
};
-#endif /* LOCAL_DEF_H */