| /* |
| * Copyright (C) 2015 The Android Open Source Project |
| * |
| * 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. |
| */ |
| |
| The sources in this folder re-implement some of the sources in libcutils/sockets |
| to provide a short-term solution eliminating libcutils dependency from |
| system/bt. Once a long-term platform-independent abstraction is presented, these |
| sources and the corresponding headers should be removed. |
| |
| Note that only a part of the source files are pulled from libcutils/sockets, and |
| "osi_" prefix is added to all functions. The developers who want to pull sockets |
| sources other than the existing ones must put the sources in this folder and |
| refactor the functions as well. |
| |
| The current sources include: |
| |
| [Headers] |
| - osi/include/socket_utils/sockets.h |
| - osi/include/socket_utils/socket_local.h |
| [Source files] |
| - osi/src/socket_utils/socket_local_client.c |
| - osi/src/socket_utils/socket_local_server.c |
| |
| Please update the above list if adding more sources. |