Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayFTPMsg.h
Go to the documentation of this file.
1 // GrayFTP Message file
2 //
3 // Values are 32 bit values layed out as follows:
4 //
5 // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
6 // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
7 // +---+-+-+-----------------------+-------------------------------+
8 // |Sev|C|R| Facility | Code |
9 // +---+-+-+-----------------------+-------------------------------+
10 //
11 // where
12 //
13 // Sev - is the severity code
14 //
15 // 00 - Success
16 // 01 - Informational
17 // 10 - Warning
18 // 11 - Error
19 //
20 // C - is the Customer code flag
21 //
22 // R - is a reserved bit
23 //
24 // Facility - is the facility code
25 //
26 // Code - is the facility's status code
27 //
28 //
29 // Define the facility codes
30 //
31 
32 //
33 // Define the severity codes
34 //
35 
36 //
37 // MessageId: MSG_SUCCESS
38 //
39 // MessageText:
40 //
41 // %1.
42 //
43 #define MSG_SUCCESS 0x00000001L
44 
45 //
46 // MessageId: MSG_INFO
47 // GrayFTPMsg
48 // MessageText:
49 //
50 // %1.
51 //
52 #define MSG_INFO 0x40000002L
53 
54 //
55 // MessageId: MSG_WARNING
56 //
57 // MessageText:
58 //
59 // WARNING %1.
60 //
61 #define MSG_WARNING 0x80000003L
62 
63 //
64 // MessageId: MSG_ERROR
65 //
66 // MessageText:
67 //
68 // ERROR %1.
69 //
70 #define MSG_ERROR 0xC0000004L