]> rtime.felk.cvut.cz Git - frescor/frsh.git/blob - fres/contract/fres_error.h
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/frescor/frsh_forb.git
[frescor/frsh.git] / fres / contract / fres_error.h
1 #ifndef FRES_ERROR_H
2 #define FRES_ERROR_H
3
4 #define FRES_ERR_BASE_VALUE                      0x02008000
5
6 enum fres_error {
7         FRES_ERR_FCB_NOT_RUNNING = FRES_ERR_BASE_VALUE,
8         FRES_ERR_FORB_EXCEPTION,
9         FRES_ERR_BLOCK_NOT_REGISTERED,
10         FRES_ERR_NEEDS_MORE_DATA_IN_CONTRACT,
11 };
12
13 int fres_strerror (int error, char *message, size_t size);
14
15
16 #endif