diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-06 02:10:24 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-06 02:10:24 +0200 |
commit | d98d86bd6b0d861462698e5bcfc8f712f8e350c7 (patch) | |
tree | 54ca00b323495f7b36f7eef479e7d1c0c2e6905a /tools.h | |
parent | 9b9e573479732acb1b9dc9fd4d6444918b5b5a5b (diff) | |
download | ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.gz ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.bz2 ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.xz ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.zip |
Support FIFO reading/writting, code restructurization, few fixes
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,8 @@ #include "pci.h" +#define BIT_MASK(bits) ((1ll << (bits)) - 1) + #define min2(a, b) (((a)<(b))?(a):(b)) int pcilib_isnumber(const char *str); |