From b3dd3b1544688ecd6b1e7f86a66b91386ab993ba Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 5 Dec 2010 15:18:51 -0500 Subject: Added "vendor" and "model" to nndevice_t, and added more prototypes --- src/netnuke.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/netnuke.h b/src/netnuke.h index 506dfdf..b24af74 100644 --- a/src/netnuke.h +++ b/src/netnuke.h @@ -39,12 +39,16 @@ typedef struct nndevice_t { + char vendor[50]; + char model[50]; char path[50]; unsigned int blksz; unsigned long long blks; unsigned long long sz; } nndevice_t; +void ignore_device(char** list, nndevice_t** d); +int strind(const char* str, const char ch); int nnlogcleanup(); int COM(const char* func, char *format, ...); void* wipe(void* device); -- cgit