From 6ef101187774e30ddba6b46bbedef549a42196ad Mon Sep 17 00:00:00 2001 From: Andre Eisenbach Date: Tue, 18 Sep 2012 01:35:44 -0700 Subject: 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 --- bta/include/bd.h | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'bta/include/bd.h') 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 ** -- cgit v1.1