Rev 3448 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3448 | Rev 3474 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef SYSCALLS_H_ |
35 | #ifndef SYSCALLS_H_ |
36 | #define SYSCALLS_H_ |
36 | #define SYSCALLS_H_ |
37 | 37 | ||
38 | typedef enum { |
38 | #include "trace.h" |
39 | RV_INTEGER, |
- | |
40 | RV_HASH, |
- | |
41 | RV_ERRNO, |
- | |
42 | RV_INT_ERRNO |
- | |
43 | } rv_type_t; |
- | |
44 | 39 | ||
45 | typedef struct { |
40 | typedef struct { |
46 | char *name; |
41 | char *name; |
47 | int n_args; |
42 | int n_args; |
48 | rv_type_t rv_type; |
43 | val_type_t rv_type; |
49 | } sc_desc_t; |
44 | } sc_desc_t; |
50 | 45 | ||
51 | extern const sc_desc_t syscall_desc[]; |
46 | extern const sc_desc_t syscall_desc[]; |
52 | 47 | ||
53 | #endif |
48 | #endif |