Go to the documentation of this file. 8 #ifndef CHIRP_PROTOCOL_H 9 #define CHIRP_PROTOCOL_H 17 #define CHIRP_LINE_MAX 1024 20 #define CHIRP_PATH_MAX 1024 23 #define CHIRP_VERSION 3 26 #define CHIRP_PORT 9094 29 #define CHIRP_ERROR_NOT_AUTHENTICATED -1 32 #define CHIRP_ERROR_NOT_AUTHORIZED -2 35 #define CHIRP_ERROR_DOESNT_EXIST -3 38 #define CHIRP_ERROR_ALREADY_EXISTS -4 41 #define CHIRP_ERROR_TOO_BIG -5 44 #define CHIRP_ERROR_NO_SPACE -6 47 #define CHIRP_ERROR_NO_MEMORY -7 50 #define CHIRP_ERROR_INVALID_REQUEST -8 53 #define CHIRP_ERROR_TOO_MANY_OPEN -9 56 #define CHIRP_ERROR_BUSY -10 59 #define CHIRP_ERROR_TRY_AGAIN -11 62 #define CHIRP_ERROR_BAD_FD -12 65 #define CHIRP_ERROR_IS_DIR -13 68 #define CHIRP_ERROR_NOT_DIR -14 71 #define CHIRP_ERROR_NOT_EMPTY -15 74 #define CHIRP_ERROR_CROSS_DEVICE_LINK -16 77 #define CHIRP_ERROR_OFFLINE -17 80 #define CHIRP_ERROR_TIMED_OUT -18 83 #define CHIRP_ERROR_DISCONNECTED -19 86 #define CHIRP_ERROR_GRP_UNREACHABLE -20 89 #define CHIRP_ERROR_NO_SUCH_JOB -21 92 #define CHIRP_ERROR_IS_A_PIPE -22 95 #define CHIRP_ERROR_NOT_SUPPORTED -23 98 #define CHIRP_ERROR_NAME_TOO_LONG -24 101 #define CHIRP_ERROR_UNKNOWN -127