FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSvDef.h
Go to the documentation of this file.
1 
7 #ifndef K_FIRESYC_SERVER_DEF_H
8 #define K_FIRESYC_SERVER_DEF_H
9 
10 #include <kFireSync/kNodeDef.h>
11 
18 typedef k32s kSvNodeService;
19 
21 #define kSV_NODE_SERVICE_NULL (0x00)
22 #define kSV_NODE_SERVICE_DISCOVERY (0x01)
23 #define kSV_NODE_SERVICE_CONTROL (0x02)
24 #define kSV_NODE_SERVICE_DATA (0x04)
25 #define kSV_NODE_SERVICE_HEALTH (0x08)
26 #define kSV_NODE_SERVICE_WEB (0x10)
27 #define kSV_NODE_SERVICE_ALL (0xFF)
28 
38 typedef struct kSvWatchdogArgs
39 {
42 
61 typedef kStatus(kCall* kSvWatchdogFx)(kPointer receiver, kObject serverNode, kSvWatchdogArgs* args);
62 
63 #include <kFireSync/Server/kSvDef.x.h>
64 
65 #endif
kStatus(kCall * kSvWatchdogFx)(kPointer receiver, kObject serverNode, kSvWatchdogArgs *args)
Signature for a kSvNode watchdog callback function.
Definition: kSvDef.h:61
Essential declarations related to FireSync nodes.
kRestartReason reason
Reason for device restart (or kRESTART_REASON_NONE to avoid reset).
Definition: kSvDef.h:40
Represents the reason that a device was rebooted.
Service type enumeration.
Argument passed to a kSvWatchdogFx callback.
Definition: kSvDef.h:38