Added information config with inotify
[platform/core/connectivity/stc-manager.git] / include / stc-manager-util.h
index 708f67c..d504cf3 100755 (executable)
@@ -327,6 +327,10 @@ static inline bool strstart_with(const char *str, const char *with)
 #define CGROUP_FILE_NAME "cgroup.procs"
 #define UNKNOWN_APP "(unknown)"
 
+#define INFO_STORAGE_DIR "/var/lib/stc"
+#define INFO_CONFIG "info.config"
+#define INFO_DEBUGLOG "debuglog"
+
 #define MAX_PATH_LENGTH 512
 #define MAX_NAME_LENGTH 256
 #define MAX_IFACE_LENGTH 32
@@ -381,4 +385,13 @@ enum stc_counter_state {
        STC_UPDATE_REQUESTED = 1 << 5,
 };
 
+gboolean stc_util_get_config_bool(char *key);
+gchar * stc_util_get_config_str(char *key);
+int stc_util_get_config_int(char *key);
+
+void stc_util_set_debuglog(int debuglog);
+int stc_util_get_debuglog(void);
+
+void stc_util_initialize_config(void);
+
 #endif /* __STC_MANAGER_UTIL_H__ */