summaryrefslogtreecommitdiffstats
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools.h b/tools.h
index 28f8b0a..41dc071 100644
--- a/tools.h
+++ b/tools.h
@@ -4,17 +4,15 @@
#include <stdio.h>
#include <stdint.h>
+#include <pcilib.h>
+
+#define pcilib_memcpy pcilib_memcpy32
+#define pcilib_datacpy pcilib_datacpy32
+
#define BIT_MASK(bits) ((1ll << (bits)) - 1)
#define min2(a, b) (((a)<(b))?(a):(b))
-typedef enum {
- PCILIB_TRISTATE_NO = 0,
- PCILIB_TRISTATE_PARTIAL = 1,
- PCILIB_TRISTATE_YES = 2
-} pcilib_tristate_t;
-
-#include "pci.h"
int pcilib_isnumber(const char *str);
int pcilib_isxnumber(const char *str);