Defines | |
| #define | VORTEX_MIN(a, b) ((a) > (b) ? b : a) |
| Returns the minimum from two values. | |
Enumerations | |
| enum | VortexConfItem { VORTEX_SOFT_SOCK_LIMIT = 1, VORTEX_HARD_SOCK_LIMIT = 2, VORTEX_LISTENER_BACKLOG = 3, VORTEX_ENFORCE_PROFILES_SUPPORTED = 4, VORTEX_AUTOMATIC_MIME_HANDLING = 5 } |
| Allowed items to use for vortex_conf_get. More... | |
Functions | |
| void | vortex_color_log_enable (axl_bool status) |
| Enable console color log. | |
| axl_bool | vortex_color_log_is_enabled (void) |
| Allows to check if the color log is currently enabled. | |
| axl_bool | vortex_conf_get (VortexConfItem item, int *value) |
| Allows to get a vortex configuration, providing a valid vortex item. | |
| axl_bool | vortex_conf_set (VortexConfItem item, int value, const char *str_value) |
| Allows to configure the provided item, with either the integer or the string value, according to the item configuration documentation. | |
| void | vortex_exit (void) |
| Terminates vortex library function. | |
| void | vortex_exit_ctx (VortexCtx *ctx, axl_bool free_ctx) |
| Terminates the vortex library execution on the provided context. | |
| axl_bool | vortex_init (void) |
| Init vortex library. | |
| axl_bool | vortex_init_ctx (VortexCtx *ctx) |
| Context based vortex library init. | |
| void | vortex_log2_enable (axl_bool status) |
| Enable console second level vortex log. | |
| axl_bool | vortex_log2_is_enabled (void) |
| Allows to get current status for second level log debug info to console. | |
| void | vortex_log_acquire_mutex (axl_bool status) |
| If activate the console debug, it may happen that some messages are mixed because several threads are producing them at the same time. | |
| void | vortex_log_enable (axl_bool status) |
| Enable console vortex log. | |
| VortexLogHandler | vortex_log_get_handler (void) |
| Allows to get current log handler configured. | |
| axl_bool | vortex_log_is_enabled (void) |
| Allows to get current status for log debug info to console. | |
| axl_bool | vortex_log_is_enabled_acquire_mutex (void) |
| Allows to check if the log mutex acquicision is activated. | |
| void | vortex_log_set_handler (VortexLogHandler handler) |
| Allows to configure an application handler that will be called for each log produced by the vortex engine. | |