Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43a42f5a authored by Chris Manton's avatar Chris Manton
Browse files

Break out stack::include::sdp_callback.h

Bug: 282936084
Test: Compiles and links

Change-Id: Ied37ee7d0e600df47eeab8b9da28ee1ed2f2c655
parent c0711a44
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include <cstdint>

#include "bt_target.h"
#include "stack/include/sdp_callback.h"
#include "stack/include/sdp_device_id.h"
#include "stack/include/sdp_status.h"
#include "stack/include/sdpdefs.h"
@@ -38,10 +39,6 @@
 *  Type Definitions
 ****************************************************************************/

/* Define a callback function for when discovery is complete. */
typedef void(tSDP_DISC_CMPL_CB)(tSDP_RESULT result);
typedef void(tSDP_DISC_CMPL_CB2)(tSDP_RESULT result, const void* user_data);

/* API into the SDP layer for service discovery. */

/*******************************************************************************
+27 −0
Original line number Diff line number Diff line
/******************************************************************************
 *
 *  Copyright 1999-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.
 *
 ******************************************************************************/

#pragma once

#include <cstdint>

#include "stack/include/sdp_status.h"

/* Define a callback function for when discovery is complete. */
typedef void(tSDP_DISC_CMPL_CB)(tSDP_RESULT result);
typedef void(tSDP_DISC_CMPL_CB2)(tSDP_RESULT result, const void* user_data);