Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project...
[pub/USBasp.git] / Demos / Host / LowLevel / RNDISEthernetHost / Lib / RNDISCommands.h
index a60245b..8130b5a 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
                #define RNDIS_COMMAND_FAILED                  0xC0\r
 \r
        /* Function Prototypes: */\r
                #define RNDIS_COMMAND_FAILED                  0xC0\r
 \r
        /* Function Prototypes: */\r
-               uint8_t RNDIS_SendEncapsulatedCommand(void* Buffer, uint16_t Length);\r
-               uint8_t RNDIS_GetEncapsulatedResponse(void* Buffer, uint16_t Length);\r
+               uint8_t RNDIS_SendEncapsulatedCommand(void* const Buffer, const uint16_t Length);\r
+               uint8_t RNDIS_GetEncapsulatedResponse(void* const Buffer, const uint16_t Length);\r
 \r
                uint8_t RNDIS_SendKeepAlive(void);\r
 \r
                uint8_t RNDIS_SendKeepAlive(void);\r
-               uint8_t RNDIS_InitializeDevice(uint16_t HostMaxPacketSize, uint16_t* DeviceMaxPacketSize);\r
-               uint8_t RNDIS_SetRNDISProperty(uint32_t Oid, void* Buffer, uint16_t Length);\r
-               uint8_t RNDIS_QueryRNDISProperty(uint32_t Oid, void* Buffer, uint16_t MaxLength);\r
-               uint8_t RNDIS_GetPacketLength(uint16_t* PacketLength);\r
+               uint8_t RNDIS_InitializeDevice(const uint16_t HostMaxPacketSize, uint16_t* const DeviceMaxPacketSize);\r
+               uint8_t RNDIS_SetRNDISProperty(const uint32_t Oid, void* Buffer, const uint16_t Length);\r
+               uint8_t RNDIS_QueryRNDISProperty(const uint32_t Oid, void* Buffer, const uint16_t MaxLength);\r
+               uint8_t RNDIS_GetPacketLength(uint16_t* const PacketLength);\r
 \r
 #endif\r
 \r
 #endif\r