|
FireSync API
|
| typedef kStatus(kCall* kSvWatchdogFx)(kPointer receiver, kObject serverNode, kSvWatchdogArgs *args) |
Signature for a kSvNode watchdog callback function.
The final argument to this callback is a pointer to a kSvWatchdogArgs structure. The 'reason' field of this structure should be used by the callback to determine the behaviour of the watchdog. By default, this field is set to kRESTART_REASON_NONE (do not reset). If a reset is determined to be necessary, set this field to any other value. If supported by the underlying hardware, the reason code will be preserved and available for inspection after reboot (via kNode_Info, or the Node/ResetReason indicator).
The operation status returned by this function is ignored.
| receiver | Receiver context pointer. |
| node | Server node object (kSvNode) |
| args | Pointer to callback argument. |