Skip to content
Snippets Groups Projects
Commit 104d98d3 authored by rswindell's avatar rswindell
Browse files

Added SERVICE_OPT_NATIVE bit (for non-JavaScript services).

Added ini_file to startup_t (used in-addition-to/ in-place of cfg_file).
parent a29eab91
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ typedef struct {
BOOL (*seteuid)(BOOL user);
char ctrl_dir[128];
char cfg_file[128];
char ini_file[128];
char answer_sound[128];
char hangup_sound[128];
char host_name[128];
......@@ -73,6 +74,7 @@ typedef struct {
#define SERVICE_OPT_UDP (1<<0) /* UDP Socket */
#define SERVICE_OPT_STATIC (1<<1) /* Static service (accepts client connectsions) */
#define SERVICE_OPT_STATIC_LOOP (1<<2) /* Loop static service until terminated */
#define SERVICE_OPT_NATIVE (1<<3) /* non-JavaScript service */
#ifdef __cplusplus
extern "C" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment