summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2019-09-06 20:52:47 +0530
committerNishant Chaprana <n.chaprana@samsung.com>2019-09-06 20:52:47 +0530
commit55c73c5d731572b1c92894ac57150555b7e61216 (patch)
treeb0924f5541567d5a4d8adab7efd32bf641d050dd /include
parent99b2c81f38ae73c1f31b8f310f4445dcab534fe8 (diff)
downloadconnman-55c73c5d731572b1c92894ac57150555b7e61216.tar.gz
connman-55c73c5d731572b1c92894ac57150555b7e61216.tar.bz2
connman-55c73c5d731572b1c92894ac57150555b7e61216.zip
Emit Service PropertyChanged when ConnectReason and DisconnectionRequested changes
Description: The properties perform below tasks:- 1. ConnectReason: To identify whether connection was an autoconnection or user initiated. 2. DisconnectionRequested: To identify whether disconnection was user initiated or not. Change-Id: I2ba4fc4637673571745517cdc33fc3a6d6367953 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/service.h b/include/service.h
index a5ee5ef8..f4f4ea27 100644
--- a/include/service.h
+++ b/include/service.h
@@ -187,6 +187,9 @@ struct connman_service *connman_service_get_default_connection(void);
*/
int connman_service_set_proxy(struct connman_service *service,
const char *proxy, gboolean active);
+
+void connman_service_set_disconnection_requested(struct connman_service *service,
+ bool disconnection_requested);
#endif
#ifdef __cplusplus