blob: 7e6266cd833bf1ae3b795979c71638a617fc014f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef DISTIO_COMMON_IDL
#define DISTIO_COMMON_IDL
module Common {
enum Error_code {
SUCCESS,
EINVAL,
ENOTSUPPORTED
};
enum Error_level {
DEBUG,
INFO,
WARNING,
NORMAL,
CRITICAL
};
struct Error_timestamp {
longlong seconds;
long nanoseconds;
};
struct Error {
Error_code code;
Error_level level;
Error_timestamp time;
long module_id;
string description;
};
};
#endif
|