summaryrefslogtreecommitdiffstats
path: root/stack/include/avct_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'stack/include/avct_api.h')
-rw-r--r--stack/include/avct_api.h55
1 files changed, 34 insertions, 21 deletions
diff --git a/stack/include/avct_api.h b/stack/include/avct_api.h
index b4e819b..2880011 100644
--- a/stack/include/avct_api.h
+++ b/stack/include/avct_api.h
@@ -1,14 +1,27 @@
-/*****************************************************************************
-**
-** Name: avct_api.h
-**
-** Description: This interface file contains the interface to the Audio
-** Video Control Transport Protocol (AVCTP).
-**
-** Copyright (c) 2003-2008, 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.
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ * This interface file contains the interface to the Audio Video Control
+ * Transport Protocol (AVCTP).
+ *
+ ******************************************************************************/
#ifndef AVCT_API_H
#define AVCT_API_H
@@ -120,7 +133,7 @@ extern "C"
** prepares the protocol stack for its use. This function
** must be called once by the system or platform using AVCTP
** before the other functions of the API an be used.
-**
+**
**
** Returns void
**
@@ -136,7 +149,7 @@ AVCT_API extern void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask);
** application in the system. Before this function can be
** called, all connections must be removed with
** AVCT_RemoveConn().
-**
+**
**
** Returns void
**
@@ -152,9 +165,9 @@ AVCT_API extern void AVCT_Deregister(void);
** the p_cc->role parameter. When this function is called to
** create an initiator connection, an AVCTP connection to
** the peer device is initiated if one does not already exist.
-** If an acceptor connection is created, the connection waits
+** If an acceptor connection is created, the connection waits
** passively for an incoming AVCTP connection from a peer device.
-**
+**
**
** Returns AVCT_SUCCESS if successful, otherwise error.
**
@@ -170,7 +183,7 @@ AVCT_API extern UINT16 AVCT_CreateConn(UINT8 *p_handle, tAVCT_CC *p_cc,
** the application is no longer using a connection. If this
** is the last connection to a peer the L2CAP channel for AVCTP
** will be closed.
-**
+**
**
** Returns AVCT_SUCCESS if successful, otherwise error.
**
@@ -186,9 +199,9 @@ AVCT_API extern UINT16 AVCT_RemoveConn(UINT8 handle);
** the p_cc->role parameter. When this function is called to
** create an initiator connection, an AVCTP connection to
** the peer device is initiated if one does not already exist.
-** If an acceptor connection is created, the connection waits
+** If an acceptor connection is created, the connection waits
** passively for an incoming AVCTP connection from a peer device.
-**
+**
**
** Returns AVCT_SUCCESS if successful, otherwise error.
**
@@ -203,7 +216,7 @@ AVCT_API extern UINT16 AVCT_CreateBrowse(UINT8 handle, UINT8 role);
** the application is no longer using a connection. If this
** is the last connection to a peer the L2CAP channel for AVCTP
** will be closed.
-**
+**
**
** Returns AVCT_SUCCESS if successful, otherwise error.
**
@@ -214,7 +227,7 @@ AVCT_API extern UINT16 AVCT_RemoveBrowse(UINT8 handle);
**
** Function AVCT_GetBrowseMtu
**
-** Description Get the peer_mtu for the AVCTP Browse channel of the given
+** Description Get the peer_mtu for the AVCTP Browse channel of the given
** connection.
**
** Returns the peer browsing channel MTU.
@@ -226,7 +239,7 @@ AVCT_API extern UINT16 AVCT_GetBrowseMtu (UINT8 handle);
**
** Function AVCT_GetPeerMtu
**
-** Description Get the peer_mtu for the AVCTP channel of the given
+** Description Get the peer_mtu for the AVCTP channel of the given
** connection.
**
** Returns the peer MTU size.