From 77c4d6e67debf0e729734d882df033c4c0f5b0c3 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 20 Apr 2015 22:01:04 +0200 Subject: Big redign of model structures --- tools.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 28f8b0a..41dc071 100644 --- a/tools.h +++ b/tools.h @@ -4,17 +4,15 @@ #include #include +#include + +#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); -- cgit v1.2.3