cctools
chirp_protocol.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3 Copyright (C) 2005- The University of Notre Dame
4 This software is distributed under the GNU General Public License.
5 See the file COPYING for details.
6 */
7 
8 #ifndef CHIRP_PROTOCOL_H
9 #define CHIRP_PROTOCOL_H
10 
17 #define CHIRP_LINE_MAX 1024
18 
20 #define CHIRP_PATH_MAX 1024
21 
23 #define CHIRP_VERSION 3
24 
26 #define CHIRP_PORT 9094
27 
29 #define CHIRP_ERROR_NOT_AUTHENTICATED -1
30 
32 #define CHIRP_ERROR_NOT_AUTHORIZED -2
33 
35 #define CHIRP_ERROR_DOESNT_EXIST -3
36 
38 #define CHIRP_ERROR_ALREADY_EXISTS -4
39 
41 #define CHIRP_ERROR_TOO_BIG -5
42 
44 #define CHIRP_ERROR_NO_SPACE -6
45 
47 #define CHIRP_ERROR_NO_MEMORY -7
48 
50 #define CHIRP_ERROR_INVALID_REQUEST -8
51 
53 #define CHIRP_ERROR_TOO_MANY_OPEN -9
54 
56 #define CHIRP_ERROR_BUSY -10
57 
59 #define CHIRP_ERROR_TRY_AGAIN -11
60 
62 #define CHIRP_ERROR_BAD_FD -12
63 
65 #define CHIRP_ERROR_IS_DIR -13
66 
68 #define CHIRP_ERROR_NOT_DIR -14
69 
71 #define CHIRP_ERROR_NOT_EMPTY -15
72 
74 #define CHIRP_ERROR_CROSS_DEVICE_LINK -16
75 
77 #define CHIRP_ERROR_OFFLINE -17
78 
80 #define CHIRP_ERROR_TIMED_OUT -18
81 
83 #define CHIRP_ERROR_DISCONNECTED -19
84 
86 #define CHIRP_ERROR_GRP_UNREACHABLE -20
87 
89 #define CHIRP_ERROR_NO_SUCH_JOB -21
90 
92 #define CHIRP_ERROR_IS_A_PIPE -22
93 
95 #define CHIRP_ERROR_NOT_SUPPORTED -23
96 
98 #define CHIRP_ERROR_NAME_TOO_LONG -24
99 
101 #define CHIRP_ERROR_UNKNOWN -127
102 
103 #endif
104 
105 /* vim: set noexpandtab tabstop=4: */