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_smartbeat.h
Go to the documentation of this file.
1
4
#ifndef STK_SMARTBEAT_H
5
#define STK_SMARTBEAT_H
6
7
#include "
stk_common.h
"
8
#include "
stk_service.h
"
9
#include <sys/time.h>
10
18
typedef
stk_uint64
stk_checkpoint_t
;
19
24
typedef
struct
stk_smartbeat_stct
{
25
stk_uint64
sec
;
26
stk_uint64
usec
;
27
stk_checkpoint_t
checkpoint
;
28
}
stk_smartbeat_t
;
29
34
typedef
struct
stk_smartbeat_ctrl_stct
stk_smartbeat_ctrl_t
;
35
37
#define STK_SMARTBEAT_SEQ 0x3000000
38
40
#define STK_STCT_SVC_SMARTBEAT_WIRE 0x50000001
41
45
typedef
struct
stk_smartbeat_svc_wire_stct
{
46
stk_service_id
service
;
47
stk_smartbeat_t
smartbeat
;
48
}
stk_smartbeat_svc_wire_t
;
49
50
#endif
Sequence Toolkit
API, Wed Apr 15 2015 22:32:53