Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
[pub/USBasp.git] / Demos / Device / Incomplete / Sideshow / Lib / SideshowContent.h
index b346311..47c15fb 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
@@ -35,6 +35,7 @@
                #include <avr/io.h>\r
                #include <stdbool.h>\r
                #include <string.h>\r
                #include <avr/io.h>\r
                #include <stdbool.h>\r
                #include <string.h>\r
+               #include <stdio.h>\r
 \r
                #include "SideshowCommon.h"\r
                #include "SideshowApplications.h"\r
 \r
                #include "SideshowCommon.h"\r
                #include "SideshowApplications.h"\r
                #define XML_END_TAG           "</body>"\r
        \r
        /* Function Prototypes: */\r
                #define XML_END_TAG           "</body>"\r
        \r
        /* Function Prototypes: */\r
-               bool SideShow_AddSimpleContent(SideShow_PacketHeader_t* PacketHeader, SideShow_Application_t* Application);\r
+               bool SideShow_AddSimpleContent(SideShow_PacketHeader_t* const PacketHeader, SideShow_Application_t* const Application);\r
 \r
                #if defined(INCLUDE_FROM_SIDESHOWCONTENT_C)\r
                        static void SideShow_ProcessXMLContent(void* ContentData, uint32_t ContentSize);\r
 \r
                #if defined(INCLUDE_FROM_SIDESHOWCONTENT_C)\r
                        static void SideShow_ProcessXMLContent(void* ContentData, uint32_t ContentSize);\r