2 * Copyright (C) 2016 Austin English
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef __BTHSDPDEF_H__
19 #define __BTHSDPDEF_H__
25 typedef struct SDP_LARGE_INTEGER_16
{
28 } SDP_LARGE_INTEGER_16
, *PSDP_LARGE_INTEGER_16
, *LPSDP_LARGE_INTEGER_16
;
30 typedef struct SDP_ULARGE_INTEGER_16
{
33 } SDP_ULARGE_INTEGER_16
, *PSDP_ULARGE_INTEGER_16
, *LPSDP_ULARGE_INTEGER_16
;
35 typedef enum NodeContainerType
{
36 NodeContainerTypeSequence
,
37 NodeContainerTypeAlternative
40 typedef USHORT SDP_ERROR
, *PSDP_ERROR
;
42 typedef enum SDP_TYPE
{
47 SDP_TYPE_STRING
= 0x04,
48 SDP_TYPE_BOOLEAN
= 0x05,
49 SDP_TYPE_SEQUENCE
= 0x06,
50 SDP_TYPE_ALTERNATIVE
= 0x07,
52 SDP_TYPE_CONTAINER
= 0x20
55 typedef enum SDP_SPECIFICTYPE
{
57 SDP_ST_UINT8
= 0x0010,
58 SDP_ST_UINT16
= 0x0110,
59 SDP_ST_UINT32
= 0x0210,
60 SDP_ST_UINT64
= 0x0310,
61 SDP_ST_UINT128
= 0x0410,
63 SDP_ST_INT16
= 0x0120,
64 SDP_ST_INT32
= 0x0220,
65 SDP_ST_INT64
= 0x0320,
66 SDP_ST_INT128
= 0x0420,
67 SDP_ST_UUID16
= 0x0130,
68 SDP_ST_UUID32
= 0x0220,
69 SDP_ST_UUID128
= 0x0430
72 typedef struct _SdpAttributeRange
{
77 typedef union SdpQueryUuidUnion
{
83 typedef struct _SdpQueryUuid
{
92 #endif /* __BTHSDPDEF_H__ */