00001
00002
00003
00004
00005
00006
00007
00008 #ifndef CHIRP_PROTOCOL_H
00009 #define CHIRP_PROTOCOL_H
00010
00011 #define CHIRP_LINE_MAX 1024
00012 #define CHIRP_PATH_MAX 1024
00013 #define CHIRP_VERSION 3
00014 #define CHIRP_PORT 9094
00015
00016 #define CHIRP_ERROR_NOT_AUTHENTICATED -1
00017 #define CHIRP_ERROR_NOT_AUTHORIZED -2
00018 #define CHIRP_ERROR_DOESNT_EXIST -3
00019 #define CHIRP_ERROR_ALREADY_EXISTS -4
00020 #define CHIRP_ERROR_TOO_BIG -5
00021 #define CHIRP_ERROR_NO_SPACE -6
00022 #define CHIRP_ERROR_NO_MEMORY -7
00023 #define CHIRP_ERROR_INVALID_REQUEST -8
00024 #define CHIRP_ERROR_TOO_MANY_OPEN -9
00025 #define CHIRP_ERROR_BUSY -10
00026 #define CHIRP_ERROR_TRY_AGAIN -11
00027 #define CHIRP_ERROR_BAD_FD -12
00028 #define CHIRP_ERROR_IS_DIR -13
00029 #define CHIRP_ERROR_NOT_DIR -14
00030 #define CHIRP_ERROR_NOT_EMPTY -15
00031 #define CHIRP_ERROR_CROSS_DEVICE_LINK -16
00032 #define CHIRP_ERROR_OFFLINE -17
00033 #define CHIRP_ERROR_TIMED_OUT -18
00034 #define CHIRP_ERROR_DISCONNECTED -19
00035 #define CHIRP_ERROR_GRP_UNREACHABLE -20
00036 #define CHIRP_ERROR_NO_SUCH_PROCESS -21
00037 #define CHIRP_ERROR_IS_A_PIPE -22
00038
00039 #define CHIRP_ERROR_UNKNOWN -127
00040
00041 #endif