cctools
|
00001 /* 00002 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin 00003 Copyright (C) 2005- The University of Notre Dame 00004 This software is distributed under the GNU General Public License. 00005 See the file COPYING for details. 00006 */ 00007 00008 #ifndef CHIRP_PROTOCOL_H 00009 #define CHIRP_PROTOCOL_H 00010 00017 #define CHIRP_LINE_MAX 1024 00018 00020 #define CHIRP_PATH_MAX 1024 00021 00023 #define CHIRP_VERSION 3 00024 00026 #define CHIRP_PORT 9094 00027 00029 #define CHIRP_ERROR_NOT_AUTHENTICATED -1 00030 00032 #define CHIRP_ERROR_NOT_AUTHORIZED -2 00033 00035 #define CHIRP_ERROR_DOESNT_EXIST -3 00036 00038 #define CHIRP_ERROR_ALREADY_EXISTS -4 00039 00041 #define CHIRP_ERROR_TOO_BIG -5 00042 00044 #define CHIRP_ERROR_NO_SPACE -6 00045 00047 #define CHIRP_ERROR_NO_MEMORY -7 00048 00050 #define CHIRP_ERROR_INVALID_REQUEST -8 00051 00053 #define CHIRP_ERROR_TOO_MANY_OPEN -9 00054 00056 #define CHIRP_ERROR_BUSY -10 00057 00059 #define CHIRP_ERROR_TRY_AGAIN -11 00060 00062 #define CHIRP_ERROR_BAD_FD -12 00063 00065 #define CHIRP_ERROR_IS_DIR -13 00066 00068 #define CHIRP_ERROR_NOT_DIR -14 00069 00071 #define CHIRP_ERROR_NOT_EMPTY -15 00072 00074 #define CHIRP_ERROR_CROSS_DEVICE_LINK -16 00075 00077 #define CHIRP_ERROR_OFFLINE -17 00078 00080 #define CHIRP_ERROR_TIMED_OUT -18 00081 00083 #define CHIRP_ERROR_DISCONNECTED -19 00084 00086 #define CHIRP_ERROR_GRP_UNREACHABLE -20 00087 00089 #define CHIRP_ERROR_NO_SUCH_PROCESS -21 00090 00092 #define CHIRP_ERROR_IS_A_PIPE -22 00093 00095 #define CHIRP_ERROR_NOT_SUPPORTED -23 00096 00098 #define CHIRP_ERROR_UNKNOWN -127 00099 00100 #endif