summaryrefslogtreecommitdiffstats
path: root/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'error.h')
-rw-r--r--error.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/error.h b/error.h
new file mode 100644
index 0000000..d64c518
--- /dev/null
+++ b/error.h
@@ -0,0 +1,18 @@
+#ifndef _PCILIB_ERROR_H
+#define _PCILIB_ERROR_H
+
+enum {
+ PCILIB_ERROR_SUCCESS = 0,
+ PCILIB_ERROR_MEMORY,
+ PCILIB_ERROR_INVALID_ADDRESS,
+ PCILIB_ERROR_INVALID_BANK,
+ PCILIB_ERROR_TIMEOUT,
+ PCILIB_ERROR_FAILED,
+ PCILIB_ERROR_VERIFY,
+ PCILIB_ERROR_NOTSUPPORTED,
+ PCILIB_ERROR_NOTFOUND,
+ PCILIB_ERROR_OUTOFRANGE,
+} pcilib_errot_t;
+
+
+#endif /* _PCILIB_ERROR_H */