The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.
Please select the desired protocol below to get the URL.
This URL has Read-Only access.
main_repo / deps / liboi / oi_error.h @ 90fc8d36
History | View | Annotate | Download (424 Bytes)
1 | 40c0f755 | Ryan | #ifndef oi_error_h
|
---|---|---|---|
2 | #define oi_error_h
|
||
3 | #ifdef __cplusplus
|
||
4 | extern "C" { |
||
5 | #endif
|
||
6 | |||
7 | 90fc8d36 | Ryan | enum oi_error_domain
|
8 | { OI_ERROR_GNUTLS |
||
9 | , OI_ERROR_EV |
||
10 | , OI_ERROR_CLOSE |
||
11 | , OI_ERROR_SHUTDOWN |
||
12 | , OI_ERROR_OPEN |
||
13 | , OI_ERROR_SEND |
||
14 | , OI_ERROR_RECV |
||
15 | , OI_ERROR_WRITE |
||
16 | , OI_ERROR_READ |
||
17 | , OI_ERROR_SENDFILE |
||
18 | }; |
||
19 | |||
20 | 40c0f755 | Ryan | struct oi_error {
|
21 | 90fc8d36 | Ryan | enum oi_error_domain domain;
|
22 | 40c0f755 | Ryan | int code; /* errno */ |
23 | }; |
||
24 | |||
25 | #ifdef __cplusplus
|
||
26 | } |
||
27 | #endif
|
||
28 | #endif // oi_error_h |