a41338782458348ca1fa0bdaf5ef6939f7ea9897
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-map-client.h
1 /*
2  * Copyright (c) 2016 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  */
17
18
19 #ifndef _BT_SERVICE_MAP_CLIENT_H_
20 #define _BT_SERVICE_MAP_CLIENT_H_
21
22 #include <glib.h>
23 #include <sys/types.h>
24 #include <gio/gio.h>
25 #include "bluetooth-api.h"
26 #include "bt-internal-types.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 #define BT_OBEX_CLIENT_AGENT_PATH "/org/obex/client_agent"
33
34 /* TODO: MAP */
35
36 typedef struct {
37         int request_id;
38         int result;
39
40         char *session_path;
41
42         char *address;
43
44 /*      int file_count;
45         int file_offset;
46         char **file_name_array;
47         gboolean is_canceled; */
48
49         /* TODO: MAP */
50
51 } bt_session_info_t; /* TODO: "session"? */
52
53 typedef struct {
54         char *address;
55         int request_id;
56
57         /*      char **file_path;
58                 int file_count; */
59
60         /* TODO: MAP */
61
62 } bt_session_data_t; /* TODO: "session"? */
63
64 /* TODO: MAP */
65
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69 #endif /*_BT_SERVICE_MAP_CLIENT_H_*/