summaryrefslogtreecommitdiff
path: root/src/plugins/imb/imbapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imb/imbapi.h')
-rw-r--r--src/plugins/imb/imbapi.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/plugins/imb/imbapi.h b/src/plugins/imb/imbapi.h
index 6ba4121..67fdc84 100644
--- a/src/plugins/imb/imbapi.h
+++ b/src/plugins/imb/imbapi.h
@@ -33,8 +33,14 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*----------------------------------------------------------------------*/
+
+#pragma once
+
#ifndef _WINDEFS_H
#define _WINDEFS_H
+
+#include <stddef.h>
+
#ifndef FALSE
#define FALSE 0
#endif
@@ -261,7 +267,7 @@ typedef struct {
#define SD_POWER_OFF 2
#pragma pack(1)
/*
- * This is the generic IMB packet format, the final checksum cant be
+ * This is the generic IMB packet format, the final checksum can't be
* represented in this structure and will show up as the last data byte
*/
typedef struct {
@@ -318,7 +324,7 @@ typedef struct {
} ImbRequest;
typedef struct {
DWORD flags; /* request flags*/
-#define NO_RESPONSE_EXPECTED 0x01 /*dont wait around for an IMB response*/
+#define NO_RESPONSE_EXPECTED 0x01 /*don't wait around for an IMB response*/
DWORD timeOut; /* in uSec units*/
ImbRequest req; /* message buffer*/
} ImbRequestBuffer;
@@ -541,7 +547,7 @@ typedef struct
*/
#define ASYNC_SEQ_START 0
/*
- * This is the generic IMB packet format, the final checksum cant be
+ * This is the generic IMB packet format, the final checksum can't be
* represented in this structure and will show up as the last data byte
*/
/*