summaryrefslogtreecommitdiff
path: root/include/alarm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/alarm.h')
-rw-r--r--include/alarm.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/include/alarm.h b/include/alarm.h
index 7f80d3b..63c3940 100644
--- a/include/alarm.h
+++ b/include/alarm.h
@@ -271,7 +271,32 @@ typedef struct alarm_info_t alarm_entry_t;
* @endcode
* @limo
*/
-int alarmmgr_init(const char *pkg_name);
+int alarmmgr_init(const char *appid);
+
+/**
+ *
+ * This function de-initializes alarm library. It un-registers the application's service name and dis-connects from system bus.
+ *
+ * @param None
+ *
+ * @return None
+ *
+ * @pre Alarm manager is initialized
+ * @post Alarm manager is de-initialized
+ * @remark An application must call this function once it is done with alarmmanger usage
+ * @par Sample code:
+ * @code
+#include <alarm.h>
+
+...
+{
+ // Initialize alarmmanager
+ // Set alarm
+
+ alarmmgr_fini() ;
+}
+ * @endcode
+ */
void alarmmgr_fini();