StaticAnalysis: Only fail on errors, only log warnings.
[pub/USBasp.git] / Demos / Device / ClassDriver / CCID / CCID.h
index 608fb78..b647c76 100644 (file)
@@ -1,14 +1,14 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2018.
+     Copyright (C) Dean Camera, 2019.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2018  Dean Camera (dean [at] fourwalledcubicle [dot] com)
-  Copyright 2018  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
+  Copyright 2019  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2019  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
                void EVENT_USB_Device_ConfigurationChanged(void);
                void EVENT_USB_Device_ControlRequest(void);
 
                void EVENT_USB_Device_ConfigurationChanged(void);
                void EVENT_USB_Device_ControlRequest(void);
 
-               uint8_t CALLBACK_CCID_IccPowerOn(uint8_t slot,
-                                                                                uint8_t* atr,
-                                                                                uint8_t* atrSize,
-                                                                                uint8_t* error);
-               uint8_t CALLBACK_CCID_IccPowerOff(uint8_t slot, uint8_t* error);
-               uint8_t CALLBACK_CCID_GetSlotStatus(uint8_t slot, uint8_t* error);
-               uint8_t CALLBACK_CCID_Abort(uint8_t slot,
-                            uint8_t seq,
-                            uint8_t *error);
-
+               uint8_t CALLBACK_CCID_IccPowerOn(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
+                                                const uint8_t Slot,
+                                                                                uint8_t* const Atr,
+                                                                                uint8_t* const AtrSize,
+                                                                                uint8_t* const Error);
+               uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
+                                                 const uint8_t Slot,
+                                                 uint8_t* const Error);
+               uint8_t CALLBACK_CCID_GetSlotStatus(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
+                                                   const uint8_t Slot,
+                                                   uint8_t* const Error);
+               uint8_t CALLBACK_CCID_XfrBlock(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
+                                                                          const uint8_t Slot,
+                                                                          const uint8_t* ReceivedBuffer,
+                                                                          const uint8_t ReceivedBufferSize,
+                                                                          uint8_t* const SendBuffer,
+                                                                          uint8_t* const SentBufferSize,
+                                                                          uint8_t* const Error);
+               uint8_t CALLBACK_CCID_Abort(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
+                                           const uint8_t Slot,
+                                           const uint8_t Seq,
+                                           uint8_t* const error);
 
 #endif
 
 
 #endif