summaryrefslogtreecommitdiffstats
path: root/bta/include/bd.h
diff options
context:
space:
mode:
authorAndre Eisenbach <andre@broadcom.com>2012-09-18 01:35:44 -0700
committerMatthew Xie <mattx@google.com>2012-09-18 16:26:28 -0700
commit6ef101187774e30ddba6b46bbedef549a42196ad (patch)
treef36eb347f03083671640fbc750171e3b951e0082 /bta/include/bd.h
parentf80d3d045eab5f002be4b5e8a3d2d376fdf7581a (diff)
downloadexternal_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.zip
external_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.tar.gz
external_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.tar.bz2
Initual Bluetooth open source release
First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
Diffstat (limited to 'bta/include/bd.h')
-rw-r--r--bta/include/bd.h43
1 files changed, 28 insertions, 15 deletions
diff --git a/bta/include/bd.h b/bta/include/bd.h
index 0fd0cf8..33c3de1 100644
--- a/bta/include/bd.h
+++ b/bta/include/bd.h
@@ -1,13 +1,26 @@
-/*****************************************************************************
-**
-** Name: bd.h
-**
-** Description: BD address services.
-**
-** Copyright (c) 2003, Widcomm Inc., All Rights Reserved.
-** Widcomm Bluetooth Core. Proprietary and confidential.
-**
-*****************************************************************************/
+/******************************************************************************
+ *
+ * Copyright (C) 2003-2012 Broadcom Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ * BD address services.
+ *
+ ******************************************************************************/
#ifndef BD_H
#define BD_H
@@ -38,9 +51,9 @@ extern const BD_ADDR bd_addr_null;
** Function bdcpy
**
** Description Copy bd addr b to a.
-**
**
-** Returns void
+**
+** Returns void
**
*******************************************************************************/
extern void bdcpy(BD_ADDR a, const BD_ADDR b);
@@ -50,7 +63,7 @@ extern void bdcpy(BD_ADDR a, const BD_ADDR b);
** Function bdcmp
**
** Description Compare bd addr b to a.
-**
+**
**
** Returns Zero if b==a, nonzero otherwise (like memcmp).
**
@@ -62,7 +75,7 @@ extern int bdcmp(const BD_ADDR a, const BD_ADDR b);
** Function bdcmpany
**
** Description Compare bd addr to "any" bd addr.
-**
+**
**
** Returns Zero if a equals bd_addr_any.
**
@@ -74,7 +87,7 @@ extern int bdcmpany(const BD_ADDR a);
** Function bdsetany
**
** Description Set bd addr to "any" bd addr.
-**
+**
**
** Returns void
**