enhanced the inclusion path handling in the sample hcl server code

added HCL_SERVER_SCRIPT_INCLUDE_PATH
added optstate field in hcl_server_worker_t
This commit is contained in:
2018-03-17 05:44:40 +00:00
parent b3cef9ec5c
commit c41c3a12af
4 changed files with 123 additions and 27 deletions

View File

@ -41,7 +41,8 @@ enum hcl_server_option_t
HCL_SERVER_WORKER_STACK_SIZE,
HCL_SERVER_WORKER_IDLE_TIMEOUT,
HCL_SERVER_ACTOR_HEAP_SIZE,
HCL_SERVER_ACTOR_MAX_RUNTIME
HCL_SERVER_ACTOR_MAX_RUNTIME,
HCL_SERVER_SCRIPT_INCLUDE_PATH
};
typedef enum hcl_server_option_t hcl_server_option_t;