summaryrefslogtreecommitdiffstats
path: root/error.h
blob: 5b46ae50fdc07aca75e05fb68f04b3977f35b8bc (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
#ifndef _PCILIB_ERROR_H
#define _PCILIB_ERROR_H
 
enum {
    PCILIB_ERROR_SUCCESS = 0,
    PCILIB_ERROR_MEMORY,
    PCILIB_ERROR_INVALID_REQUEST,
    PCILIB_ERROR_INVALID_ADDRESS,
    PCILIB_ERROR_INVALID_BANK,
    PCILIB_ERROR_INVALID_DATA,
    PCILIB_ERROR_INVALID_STATE,
    PCILIB_ERROR_TIMEOUT,
    PCILIB_ERROR_FAILED,
    PCILIB_ERROR_VERIFY,
    PCILIB_ERROR_NOTSUPPORTED,
    PCILIB_ERROR_NOTFOUND,
    PCILIB_ERROR_OUTOFRANGE,
    PCILIB_ERROR_NOTAVAILABLE,
    PCILIB_ERROR_NOTINITIALIZED,
    PCILIB_ERROR_TOOBIG
} pcilib_errot_t;


#endif /* _PCILIB_ERROR_H */