#define NOTIFICATION_EMPTY_STR ""
#define NOTIFICATION_CHECK_STR(p) ((p) ? (p) : NOTIFICATION_EMPTY_STR)
+#ifdef __cplusplus
+extern "C" {
+#endif
+
sqlite3 *notification_db_open(void);
int notification_db_close(sqlite3 **db);
int notification_db_exec(sqlite3 *db, const char *query, int *num_changes);
bundle *notification_db_column_bundle(sqlite3_stmt *stmt, int col);
int notification_db_init(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* __NOTIFICATION_DB_H__ */
#include <notification.h>
#include <notification_list.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define TAG_TIME "TIME"
#define TAG_TYPE_INVALID -1
#define TAG_TYPE_TIME 1
void notification_noti_init_data(void);
int notification_noti_check_limit(notification_h noti, uid_t uid, GList **list);
+#ifdef __cplusplus
+}
+#endif
#endif /* __NOTIFICATION_NOTI_H__ */
#ifndef __NOTIFICATION_ONGOING_FLAG_H__
#define __NOTIFICATION_ONGOING_FLAG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <notification.h>
/**
*/
int notification_get_ongoing_flag(notification_h noti, bool *ongoing_flag);
+#ifdef __cplusplus
+}
+#endif
#endif /* __NOTIFICATION_ONGOING_H__ */
#include <sys/types.h>
#include <notification_internal.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
#endif
void notification_delete_event_handler_cb(int priv_id);
char *notification_get_app_id_by_pid(int pid);
+#ifdef __cplusplus
+}
+#endif
#endif /* __NOTIFICATION_PRIVATE_H__ */