diff options
Diffstat (limited to 'xdelta1/libedsio/edsio.ser')
-rw-r--r-- | xdelta1/libedsio/edsio.ser | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/xdelta1/libedsio/edsio.ser b/xdelta1/libedsio/edsio.ser deleted file mode 100644 index ada3b11..0000000 --- a/xdelta1/libedsio/edsio.ser +++ /dev/null | |||
@@ -1,129 +0,0 @@ | |||
1 | ;; -*- Emacs-Lisp -*- | ||
2 | |||
3 | (defmodule edsio 6 "edsio.h" nil) | ||
4 | |||
5 | (defsertype EdsioUint 1 | ||
6 | ((val uint)) | ||
7 | () | ||
8 | ) | ||
9 | |||
10 | (defsertype EdsioBytes 2 | ||
11 | ((val bytes)) | ||
12 | () | ||
13 | ) | ||
14 | |||
15 | (defsertype EdsioString 3 | ||
16 | ((val string)) | ||
17 | () | ||
18 | ) | ||
19 | |||
20 | (defsertype GenericTime 4 | ||
21 | ((seconds uint) | ||
22 | (nanos uint) | ||
23 | ) | ||
24 | () | ||
25 | ) | ||
26 | |||
27 | (defetype source "SerialSource*") | ||
28 | (defetype sink "SerialSink*") | ||
29 | (defetype int "int") | ||
30 | (defetype string "const char*") | ||
31 | |||
32 | (defevent GetTimeOfDayFailure Error () (errno) | ||
33 | "Gettimeofday failed: ${STRERROR}") | ||
34 | |||
35 | (defevent TimeFailure Error () (errno) | ||
36 | "Time failed: ${STRERROR}") | ||
37 | |||
38 | (defevent UnregisteredType Error ((library int) (number int)) () | ||
39 | "Unregistered serial type: library=${LIBRARY} number=${NUMBER}") | ||
40 | |||
41 | (defevent UnexpectedLibraryType Error ((expected int) (received int)) () | ||
42 | "Unexpected serial library type: expected ${EXPECTED}, received ${RECEIVED}") | ||
43 | |||
44 | (defevent UnexpectedType Error () () | ||
45 | "Unexpected serial type") | ||
46 | |||
47 | (defevent OutputBufferShort Error () () | ||
48 | "Output buffer is too short") | ||
49 | |||
50 | (defevent InvalidBase64Encoding Error () () | ||
51 | "Invalid base64 encoding") | ||
52 | |||
53 | (defevent MissingChecksum Error () () | ||
54 | "Missing embedded checksum in base64 encoding") | ||
55 | |||
56 | (defevent InvalidChecksum Error () () | ||
57 | "Checksum verification failed") | ||
58 | |||
59 | (defevent SourceEof Error ((source source)) () | ||
60 | "${SOURCE}: Unexpected EOF") | ||
61 | |||
62 | (defevent IncorrectAllocation Error ((source source)) () | ||
63 | "${SOURCE}: Incorrect allocation") | ||
64 | |||
65 | (defevent InvalidIntegerString Error ((msg string) (arg string)) () | ||
66 | "${MSG}: not an integer: ${ARG}") | ||
67 | |||
68 | (defevent IntegerOutOfRange Error ((msg string) (arg string)) () | ||
69 | "${MSG}: integer out of range: ${ARG}") | ||
70 | |||
71 | (defevent InvalidIntegerSign Error ((msg string) (arg string)) () | ||
72 | "${MSG}: expected an unsigned integer: ${ARG}") | ||
73 | |||
74 | (defevent DuplicatePropertyTypeRegistered Error ((name string)) () | ||
75 | "Property type registered twice: ${NAME}") | ||
76 | |||
77 | (defevent DuplicateHostTypeRegistered Error ((name string)) () | ||
78 | "Property host registered twice: ${NAME}") | ||
79 | |||
80 | (defevent DuplicatePropertyNameRegistered Warning ((name string)) () | ||
81 | "Property name registered twice (ignored): ${NAME}") | ||
82 | |||
83 | (defevent NoSuchProperty Error ((num int)) () | ||
84 | "Unregistered property: ${NUM}") | ||
85 | |||
86 | (defevent NoSuchPropertyType Error ((name string)) () | ||
87 | "Unregistered property type: ${NAME}") | ||
88 | |||
89 | (defevent NoSuchHostType Error ((name string)) () | ||
90 | "Unregistered host type: ${NAME}") | ||
91 | |||
92 | (defevent WrongHostType Error ((name string) (recv string) (expect string)) () | ||
93 | "Wrong property host type: received ${RECV}, expected ${EXPECT}") | ||
94 | |||
95 | (defevent WrongDataType Error ((name string) (recv string) (expect string)) () | ||
96 | "Wrong property data type: received ${RECV}, expected ${EXPECT}") | ||
97 | |||
98 | (defevent PropertyNotSet Error ((name string)) () | ||
99 | "${NAME} property not set") | ||
100 | |||
101 | (defevent PersistenceUnavailable Error ((name string) (host string)) () | ||
102 | "Persistence is unavailable in host ${HOST} for property ${NAME}") | ||
103 | |||
104 | (defevent InvalidStreamChecksum Error () () | ||
105 | "Incorrect stream checksum") | ||
106 | |||
107 | (defevent InvalidHexDigit Error ((bad string) (ctx string)) () | ||
108 | "Invalid hex digit ${BAD} in context: ${CTX}") | ||
109 | |||
110 | (defevent MD5StringShort Error ((short string)) () | ||
111 | "MD5 string too short: ${SHORT}") | ||
112 | |||
113 | (defevent MD5StringLong Error ((long string)) () | ||
114 | "MD5 string too long: ${LONG}") | ||
115 | |||
116 | (defevent UnregisteredLibrary Error ((number int)) () | ||
117 | "Unregistered library: ${NUMBER}") | ||
118 | |||
119 | (defevent GModuleError Error ((file string) (msg string)) () | ||
120 | "GModule: ${FILE}: ${MSG}") | ||
121 | |||
122 | ;; properties | ||
123 | |||
124 | (defprophost PropTest "P" "PropTest*" t) | ||
125 | |||
126 | (defprophosttype PropTest uint) | ||
127 | (defprophosttype PropTest bytes) | ||
128 | (defprophosttype PropTest string) | ||
129 | (defprophosttype PropTest EdsioUint) | ||