| 1 | #ifndef PROBE_COMMON_H |
| 2 | #define PROBE_COMMON_H |
| 3 | |
| 4 | /** |
| 5 | * probe errors (send by probes in SEAP error packets) |
| 6 | */ |
| 7 | #define PROBE_ESUCCESS 0 |
| 8 | #define PROBE_EINVAL 1 /**< Invalid type/value/format */ |
| 9 | #define PROBE_ENOELM 2 /**< Missing element OBSOLETE: use ENOENT */ |
| 10 | #define PROBE_ENOVAL 3 /**< Missing value */ |
| 11 | #define PROBE_ENOATTR 4 /**< Missing attribute */ |
| 12 | #define PROBE_EINIT 5 /**< Initialization failed */ |
| 13 | #define PROBE_ENOMEM 6 /**< No memory */ |
| 14 | #define PROBE_EOPNOTSUPP 7 /**< Not supported */ |
| 15 | #define PROBE_ERANGE 8 /**< Out of range */ |
| 16 | #define PROBE_EDOM 9 /**< Out of domain */ |
| 17 | #define PROBE_EFAULT 10 /**< Memory fault/NULL value */ |
| 18 | #define PROBE_EACCESS 11 /**< Operation not permitted */ |
| 19 | #define PROBE_ESETEVAL 12 /**< Set evaluation failed */ |
| 20 | #define PROBE_ENOENT 13 /**< Missing entity */ |
| 21 | #define PROBE_ENOOBJ 14 /**< Missing object */ |
| 22 | #define PROBE_ECONNABORTED 15 /**< Evaluation aborted */ |
| 23 | #define PROBE_EFATAL 254 /**< Unrecoverable error */ |
| 24 | #define PROBE_EUNKNOWN 255 /**< Unknown/Unexpected error */ |
| 25 | |
| 26 | #endif /* PROBE_COMMON_H */ |