Fixed build error
[platform/core/api/zigbee.git] / src / zbl.h
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may 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,
12  * WITHOUT 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 #ifndef __TIZEN_NETWORK_ZIGBEE_LIBRARY_H__
17 #define __TIZEN_NETWORK_ZIGBEE_LIBRARY_H__
18
19 #include <glib.h>
20 #include <zigbee.h>
21
22 #ifdef API
23 #undef API
24 #endif /* API */
25
26 #define API __attribute__((visibility("default")))
27
28 struct zbl_zigbee_s {
29         GList *dbus_sub_ids; /**< subsrcibed dbus signal id */
30         zb_event_cb event_handler; /**< event handler */
31 #ifdef ZB_FEATURE_GLOBAL_RSP_SYNC
32         GList *global_cmd_req; /**< list of global command requests */
33 #endif
34         void *user_data; /**< use data */
35 };
36
37 #endif /* TIZEN_NETWORK_ZIGBEE_LIBRARY_H__ */