summaryrefslogtreecommitdiffstats
path: root/error.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 17:34:23 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 17:34:23 +0100
commitb26046f5a83a3933a99166762de03bf8e7a48d76 (patch)
tree5f43a328cd43745ff3f2db4d864b2db4b81c35fd /error.h
parent8a33c993a5771b041b67c365378ac40f76365da7 (diff)
parent134e2cc87d524bbb63c2e73dc1bb1fd8c0449ae1 (diff)
downloadpcitool-b26046f5a83a3933a99166762de03bf8e7a48d76.tar.gz
pcitool-b26046f5a83a3933a99166762de03bf8e7a48d76.tar.bz2
pcitool-b26046f5a83a3933a99166762de03bf8e7a48d76.tar.xz
pcitool-b26046f5a83a3933a99166762de03bf8e7a48d76.zip
Merge changes
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 */