xref: /btstack/platform/windows/hci_dump_windows_stdout.h (revision 3c291624fb577cc29230b68a2737609bef420ddb)
1*3c291624SMatthias Ringwald /*
2*3c291624SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
3*3c291624SMatthias Ringwald  *
4*3c291624SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5*3c291624SMatthias Ringwald  * modification, are permitted provided that the following conditions
6*3c291624SMatthias Ringwald  * are met:
7*3c291624SMatthias Ringwald  *
8*3c291624SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9*3c291624SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10*3c291624SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11*3c291624SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12*3c291624SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13*3c291624SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14*3c291624SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15*3c291624SMatthias Ringwald  *    from this software without specific prior written permission.
16*3c291624SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17*3c291624SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18*3c291624SMatthias Ringwald  *    monetary gain.
19*3c291624SMatthias Ringwald  *
20*3c291624SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21*3c291624SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*3c291624SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*3c291624SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
24*3c291624SMatthias Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25*3c291624SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26*3c291624SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27*3c291624SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28*3c291624SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29*3c291624SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30*3c291624SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31*3c291624SMatthias Ringwald  * SUCH DAMAGE.
32*3c291624SMatthias Ringwald  *
33*3c291624SMatthias Ringwald  * Please inquire about commercial licensing options at
34*3c291624SMatthias Ringwald  * [email protected]
35*3c291624SMatthias Ringwald  *
36*3c291624SMatthias Ringwald  */
37*3c291624SMatthias Ringwald 
38*3c291624SMatthias Ringwald /*
39*3c291624SMatthias Ringwald  * Dump HCI trace on stdout
40*3c291624SMatthias Ringwald  */
41*3c291624SMatthias Ringwald 
42*3c291624SMatthias Ringwald #ifndef HCI_DUMP_WINDOWS_STDOUT_H
43*3c291624SMatthias Ringwald #define HCI_DUMP_WINDOWS_STDOUT_H
44*3c291624SMatthias Ringwald 
45*3c291624SMatthias Ringwald #include <stdint.h>
46*3c291624SMatthias Ringwald #include <stdarg.h>       // for va_list
47*3c291624SMatthias Ringwald #include "hci_dump.h"
48*3c291624SMatthias Ringwald 
49*3c291624SMatthias Ringwald #if defined __cplusplus
50*3c291624SMatthias Ringwald extern "C" {
51*3c291624SMatthias Ringwald #endif
52*3c291624SMatthias Ringwald 
53*3c291624SMatthias Ringwald /**
54*3c291624SMatthias Ringwald  * @brief Get HCI Dump Windows STDOUT Instance
55*3c291624SMatthias Ringwald  * @return hci_dump_impl
56*3c291624SMatthias Ringwald  */
57*3c291624SMatthias Ringwald const hci_dump_t * hci_dump_windows_stdout_get_instance(void);
58*3c291624SMatthias Ringwald 
59*3c291624SMatthias Ringwald /* API_END */
60*3c291624SMatthias Ringwald 
61*3c291624SMatthias Ringwald #if defined __cplusplus
62*3c291624SMatthias Ringwald }
63*3c291624SMatthias Ringwald #endif
64*3c291624SMatthias Ringwald #endif // HCI_DUMP_WINDOWS_STDOUT_H
65