The Sequence Toolkit
www.sequence-toolkit.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
stk_env_api.h
Go to the documentation of this file.
1
7
#ifndef STK_ENV_API_H
8
#define STK_ENV_API_H
9
10
#include "
stk_env.h
"
11
#include "
stk_common.h
"
12
#include "
stk_timer.h
"
13
#include "
stk_smartbeat.h
"
14
#include "
stk_name_service.h
"
15
#include "
stk_data_flow.h
"
16
27
stk_env_t
*
stk_create_env
(
stk_options_t
*options);
34
stk_bool
stk_destroy_env
(
stk_env_t
*env);
35
36
/* Timer pool management */
41
stk_ret
stk_env_add_timer_set
(
stk_env_t
*env,
stk_timer_set_t
*tset);
46
stk_ret
stk_env_remove_timer_set
(
stk_env_t
*env,
stk_timer_set_t
*tset);
51
stk_ret
stk_env_dispatch_timer_pools
(
stk_env_t
*env,
unsigned
short
max_callbacks);
56
stk_ret
stk_env_dispatch_timer_pool
(
stk_env_t
*env,
unsigned
short
max_callbacks,
int
pool);
61
int
stk_next_timer_ms_in_pool
(
stk_env_t
*env);
65
void
stk_wakeup_dispatcher
(
stk_env_t
*env);
69
stk_smartbeat_ctrl_t
*
stk_env_get_smartbeat_ctrl
(
stk_env_t
*env);
73
stk_name_service_t
*
stk_env_get_name_service
(
stk_env_t
*env);
77
stk_data_flow_t
*
stk_env_get_monitoring_data_flow
(
stk_env_t
*env);
81
void
*
stk_env_get_dispatcher
(
stk_env_t
*env);
82
86
stk_ret
stk_set_env_monitoring_data_flow
(
stk_env_t
*env,
stk_options_t
*options);
87
91
void
stk_set_stderr_level
(
int
level);
92
#endif
Sequence Toolkit
API, Wed Apr 15 2015 22:32:53