15 #ifndef __IGTL_STATUS_H
16 #define __IGTL_STATUS_H
21 #define IGTL_STATUS_HEADER_SIZE 30
23 #define IGTL_STATUS_ERROR_NAME_LENGTH 20
27 #define IGTL_STATUS_INVALID 0
28 #define IGTL_STATUS_OK 1
29 #define IGTL_STATUS_UNKNOWN_ERROR 2
30 #define IGTL_STATUS_PANICK_MODE 3
31 #define IGTL_STATUS_NOT_FOUND 4
32 #define IGTL_STATUS_ACCESS_DENIED 5
33 #define IGTL_STATUS_BUSY 6
34 #define IGTL_STATUS_TIME_OUT 7
35 #define IGTL_STATUS_OVERFLOW 8
36 #define IGTL_STATUS_CHECKSUM_ERROR 9
37 #define IGTL_STATUS_CONFIG_ERROR 10
38 #define IGTL_STATUS_RESOURCE_ERROR 11
39 #define IGTL_STATUS_ILLEGAL_INSTRUCTION 12
40 #define IGTL_STATUS_NOT_READY 13
41 #define IGTL_STATUS_MANUAL_MODE 14
42 #define IGTL_STATUS_DISABLED 15
43 #define IGTL_STATUS_NOT_PRESENT 16
44 #define IGTL_STATUS_UNKNOWN_VERSION 17
45 #define IGTL_STATUS_HARDWARE_FAILURE 18
46 #define IGTL_STATUS_SHUT_DOWN 19
#define IGTL_STATUS_ERROR_NAME_LENGTH
void igtl_export igtl_status_convert_byte_order(igtl_status_header *status)
igtl_uint64 igtl_export igtl_status_get_crc(igtl_status_header *status, igtl_uint32 msglen, const char *msg)