Mbed OS Reference
Loading...
Searching...
No Matches
callback_handler.h
1/*
2 * Copyright (c) 2015 ARM Limited. All rights reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 * Licensed under the Apache License, Version 2.0 (the License); you may
5 * not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef __INCLUDE_CALLBACK_HANDLER_H__
18#define __INCLUDE_CALLBACK_HANDLER_H__
19
20#include "mesh_interface_types.h"
21
22#ifdef __cplusplus
23#include "MeshInterfaceNanostack.h"
24extern "C" {
25#endif
26
27void __mesh_handler_c_callback(mesh_connection_status_t state);
28
29#ifdef __cplusplus
30}
31#endif
32
33#ifdef __cplusplus
34void __mesh_handler_set_callback(Nanostack::Interface *handler);
35#endif
36
37#endif /* __INCLUDE_CALLBACK_HANDLER_H__ */