From 77352bda4f187db6624f03471e76b5219d5e26fa Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 9 Nov 2009 22:06:07 +0000 Subject: This code is unstable. A runaway file descriptor is locking up the testbed. --- netnuke.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'netnuke.h') diff --git a/netnuke.h b/netnuke.h index b0a8a85..99f2427 100644 --- a/netnuke.h +++ b/netnuke.h @@ -5,6 +5,9 @@ void fillRandom(char buffer[], uint64_t length); void staticPattern() __attribute__((alias("fillRandom"))); uint64_t getSize(const char* media); +int open_device(const char *media); +int close_device(int fd); +//int recycle_device(const char* media, int fd); void echoList(void); void usage(const char* cmd); void version_short(void); @@ -53,6 +56,7 @@ This software is licensed under %sv%d\n",\ NETNUKE_AUTHOR_EMAIL, NETNUKE_LICENSE_TYPE,\ NETNUKE_LICENSE_VERSION +/* Per iteration of devices, how many should we test for */ #define MAX_SCAN 255 /* Output update speed based on writes */ #define RETAINER 0 -- cgit