summaryrefslogtreecommitdiffstats
path: root/error.h
blob: 568ef18927665e4d29655269a5dd166b0996cc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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_errot_t;


#endif /* _PCILIB_ERROR_H */