diff options
author | Eunyoung Lee <ey928.lee@samsung.com> | 2017-10-24 20:58:19 +0900 |
---|---|---|
committer | Eunyoung Lee <ey928.lee@samsung.com> | 2017-10-24 20:58:19 +0900 |
commit | 44a7d5f6eb27fa9966fa0f0260677baaa83fdc44 (patch) | |
tree | 13cafeb6a9f251f1159055cf11a7254870a69b6a /inc/connectivity.h | |
parent | 135f76e548784577b4f08ba7ca4d7707dfb558da (diff) | |
download | position-finder-server-44a7d5f6eb27fa9966fa0f0260677baaa83fdc44.tar.gz position-finder-server-44a7d5f6eb27fa9966fa0f0260677baaa83fdc44.tar.bz2 position-finder-server-44a7d5f6eb27fa9966fa0f0260677baaa83fdc44.zip |
Update connectivity.h
Change-Id: Ib3d6255d62e04f1c51226a45371e9fda0a608424
Diffstat (limited to 'inc/connectivity.h')
-rw-r--r-- | inc/connectivity.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/inc/connectivity.h b/inc/connectivity.h index 3f9025a..5165dda 100644 --- a/inc/connectivity.h +++ b/inc/connectivity.h @@ -50,40 +50,40 @@ extern int connectivity_set_resource(const char *path, const char *type, connect extern void connectivity_unset_resource(connectivity_resource_s *resource); /** - * @brief Notifies specific clients that resource's attributes have changed with boolean value. + * @brief Notifies a resource's value to observed clients. * @param[in] resource_info A structure containing information about connectivity resource - * @param[in] key A new key to be added into attributes - * @param[in] value A boolean value to be added into attributes + * @param[in] key A key to be sended. + * @param[in] value A value to be sended. * @return 0 on success, otherwise a negative error value * @see If key is already exists, current value will be replaced with new value. */ extern int connectivity_notify_bool(connectivity_resource_s *resource_info, const char *key, bool value); /** - * @brief Notifies specific clients that resource's attributes have changed with int value. + * @brief Notifies a resource's value to observed clients. * @param[in] resource_info A structure containing information about connectivity resource - * @param[in] key A new key to be added into attributes - * @param[in] value A int value to be added into attributes + * @param[in] key A key to be sended. + * @param[in] value A value to be sended. * @return 0 on success, otherwise a negative error value * @see If key is already exists, current value will be replaced with new value. */ extern int connectivity_notify_int(connectivity_resource_s *resource_info, const char *key, int value); /** - * @brief Notifies specific clients that resource's attributes have changed with double value. + * @brief Notifies a resource's value to observed clients. * @param[in] resource_info A structure containing information about connectivity resource - * @param[in] key A new key to be added into attributes - * @param[in] value A double value to be added into attributes + * @param[in] key A key to be sended. + * @param[in] value A value to be sended. * @return 0 on success, otherwise a negative error value * @see If key is already exists, current value will be replaced with new value. */ extern int connectivity_notify_double(connectivity_resource_s *resource_info, const char *key, double value); /** - * @brief Notifies specific clients that resource's attributes have changed with string value. + * @brief Notifies a resource's value to observed clients. * @param[in] resource_info A structure containing information about connectivity resource - * @param[in] key A new key to be added into attributes - * @param[in] value A string value to be added into attributes + * @param[in] key A key to be sended. + * @param[in] value A value to be sended. * @return 0 on success, otherwise a negative error value * @see If key is already exists, current value will be replaced with new value. */ |