diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-06-30 12:08:58 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-06-30 12:08:58 +0000 |
commit | e7d6d472c21aa80c28be01c0d6dcbfd250d57a25 (patch) | |
tree | 04d9d76a9a48f183f4cdf1c922a8e33555e77da1 /util.h | |
download | python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.gz python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.xz python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.zip |
First commit to SVN.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#include <sys/types.h> + +#include "types.h" + +#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) + +int checksum(const u8 *buf, size_t len); +void *mem_chunk(size_t base, size_t len, const char *devmem); |