Rev 3438 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3438 | Rev 3452 | ||
|---|---|---|---|
| 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 { |
- | |
| 39 | RV_INTEGER, |
- | |
| 40 | RV_HASH, |
- | |
| 41 | RV_ERRNO, |
- | |
| 42 | RV_INT_ERRNO |
- | |
| 43 | } rv_type_t; |
- | |
| 44 | - | ||
| 45 | typedef struct { |
38 | typedef struct { |
| 46 | char *name; |
39 | char *name; |
| 47 | int n_args; |
40 | int n_args; |
| 48 | rv_type_t rv_type; |
41 | val_type_t rv_type; |
| 49 | } sc_desc_t; |
42 | } sc_desc_t; |
| 50 | 43 | ||
| 51 | extern const sc_desc_t syscall_desc[]; |
44 | extern const sc_desc_t syscall_desc[]; |
| 52 | 45 | ||
| 53 | #endif |
46 | #endif |