From a949bdd32416e92ad9cdecaca98e8ef247d6ace2 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Wed, 15 Jun 2016 10:58:38 +0900 Subject: [PATCH] Add multi-user func prototype in header file Change-Id: Ief8bbc28c3d76466ff6da007ee02d06bf1e8c8b7 Signed-off-by: Myungki Lee --- include/notification_setting_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/notification_setting_internal.h b/include/notification_setting_internal.h index b8074f4..ada5059 100644 --- a/include/notification_setting_internal.h +++ b/include/notification_setting_internal.h @@ -35,7 +35,10 @@ struct notification_setting { }; int notification_setting_get_setting_array(notification_setting_h *setting_array, int *count); +int notification_setting_get_setting_array_for_uid(notification_setting_h *setting_array, int *count, uid_t uid); + int notification_setting_get_setting_by_package_name(const char *package_name, notification_setting_h *setting); +int notification_setting_get_setting_by_package_name_for_uid(const char *package_name, notification_setting_h *setting, uid_t uid); int notification_setting_get_package_name(notification_setting_h setting, char **value); int notification_setting_set_package_name(notification_setting_h setting, char *value); @@ -49,11 +52,17 @@ int notification_setting_set_do_not_disturb_except(notification_setting_h settin int notification_setting_insert_package_for_uid(const char *package_id, uid_t uid); int notification_setting_delete_package_for_uid(const char *package_id, uid_t uid); +int notification_setting_update_setting_for_uid(notification_setting_h setting, uid_t uid); + /* System setting */ typedef struct notification_system_setting *notification_system_setting_h; int notification_system_setting_load_system_setting(notification_system_setting_h *system_setting); +int notification_system_setting_load_system_setting_for_uid(notification_system_setting_h *system_setting, uid_t uid); + int notification_system_setting_update_system_setting(notification_system_setting_h system_setting); +int notification_system_setting_update_system_setting_for_uid(notification_system_setting_h system_setting, uid_t uid); + int notification_system_setting_free_system_setting(notification_system_setting_h system_setting); int notification_system_setting_get_do_not_disturb(notification_system_setting_h system_setting, bool *value); -- 2.7.4