projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bluetooth-frwk] pushMessage
[platform/core/connectivity/bluetooth-frwk.git]
/
include
/
bluetooth-api.h
diff --git
a/include/bluetooth-api.h
b/include/bluetooth-api.h
index
24b0c7f
..
624abb0
100644
(file)
--- a/
include/bluetooth-api.h
+++ b/
include/bluetooth-api.h
@@
-1804,9
+1804,11
@@
typedef struct {
char* remote_address;
} bt_map_client_session_info_s;
char* remote_address;
} bt_map_client_session_info_s;
+typedef char* bt_map_client_message_object_t;
+
typedef struct {
int16_t offset;
typedef struct {
int16_t offset;
- int16_t maxcount;
+ int16_t max
_
count;
} bt_map_client_list_folders_filter_t;
typedef struct {
} bt_map_client_list_folders_filter_t;
typedef struct {
@@
-1824,7
+1826,7
@@
typedef struct {
} bt_map_client_list_messages_filter_t;
typedef struct {
} bt_map_client_list_messages_filter_t;
typedef struct {
-
char *message_object_name
;
+
bt_map_client_message_object_t message_object
;
char *folder;
char *subject;
char *timestamp;
char *folder;
char *subject;
char *timestamp;
@@
-1884,7
+1886,6
@@
typedef struct {
void* user_data;
} bt_get_message_callback_data;
void* user_data;
} bt_get_message_callback_data;
-
/**
* Callback pointer type
*/
/**
* Callback pointer type
*/
@@
-4948,8
+4949,7
@@
int bluetooth_map_client_set_folder(
int bluetooth_map_client_list_folders(
bt_map_client_session_info_s *session,
int bluetooth_map_client_list_folders(
bt_map_client_session_info_s *session,
- int offset,
- int maxcount
+ bt_map_client_list_folders_filter_t *filter
);
/**
);
/**
@@
-4973,7
+4973,7
@@
int bluetooth_map_client_list_filter_fields(
int bluetooth_map_client_list_messages(
bt_map_client_session_info_s *session,
const char *folder,
int bluetooth_map_client_list_messages(
bt_map_client_session_info_s *session,
const char *folder,
-
GVarian
t *filter
+
bt_map_client_list_messages_filter_
t *filter
);
int bluetooth_map_client_update_inbox(
);
int bluetooth_map_client_update_inbox(
@@
-4984,12
+4984,12
@@
int bluetooth_map_client_push_message(
bt_map_client_session_info_s *session,
const char *source_file,
const char *folder,
bt_map_client_session_info_s *session,
const char *source_file,
const char *folder,
-
GVarian
t *args
+
bt_map_client_push_message_args_
t *args
);
int bluetooth_map_client_get_message(
bt_map_client_session_info_s *session,
);
int bluetooth_map_client_get_message(
bt_map_client_session_info_s *session,
- const
char *message_object_name
,
+ const
bt_map_client_message_object_t message_object
,
const char *target_file,
bool attachment
);
const char *target_file,
bool attachment
);