diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2009-08-17 17:17:24 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2009-08-17 17:17:24 +0200 |
commit | 3e8e650f25e5e40fd30b038ee3abf175523d42a6 (patch) | |
tree | 9672e7072483658ef81ab4d85bd020e2dcb7a59d /src/wsbm_driver.h | |
parent | 375a9b16472031d603fd0d2f3cbea3e1ed9bc6c7 (diff) |
libwsbm: Big update for libwsbm 2.0.
Prepare for per-device libs,
Split out command submission,
Rework driver interface,
Bump major.
Diffstat (limited to 'src/wsbm_driver.h')
-rw-r--r-- | src/wsbm_driver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wsbm_driver.h b/src/wsbm_driver.h index d7da44e..b78549b 100644 --- a/src/wsbm_driver.h +++ b/src/wsbm_driver.h @@ -87,9 +87,9 @@ extern struct _WsbmThreadFuncs *wsbmCurThreadFunc; #define WSBM_COND_BROADCAST(_cond) \ (_cond)->func->condBroadcast(_cond); -struct _WsbmVNodeFuncs +struct _WsbmDriver { - struct _ValidateNode *(*alloc) (struct _WsbmVNodeFuncs *, int); + struct _ValidateNode *(*alloc) (const struct _WsbmDriver *); void (*free) (struct _ValidateNode *); void (*clear) (struct _ValidateNode *); }; @@ -109,7 +109,7 @@ struct _ValidateNode uint64_t set_flags; uint64_t clr_flags; void *buf; - struct _WsbmVNodeFuncs *func; + const struct _WsbmDriver *driver; }; static inline struct _WsbmVNodeFuncs * |