Separate monitoring function plugin
[platform/core/connectivity/stc-manager.git] / src / database / tables / table-counters.c
old mode 100644 (file)
new mode 100755 (executable)
index 9bd49a2..96c15c5
@@ -271,7 +271,7 @@ handle_error:
        return ret;
 }
 
-stc_error_e table_counters_get(uint64_t restriction_id,
+API stc_error_e table_counters_get(uint64_t restriction_id,
                               table_counters_info *info)
 {
        stc_error_e error_code = STC_ERROR_NONE;
@@ -322,7 +322,7 @@ handle_error:
 }
 
 //LCOV_EXCL_START
-stc_error_e table_counters_update_counters(const table_counters_info *info)
+API stc_error_e table_counters_update_counters(const table_counters_info *info)
 {
        stc_error_e error_code = STC_ERROR_NONE;
        sqlite3_stmt *stmt = update_counter;
@@ -359,7 +359,7 @@ handle_error:
 }
 //LCOV_EXCL_STOP
 
-stc_error_e table_counters_get_timestamps(uint64_t restriction_id,
+API stc_error_e table_counters_get_timestamps(uint64_t restriction_id,
                                                                                table_counters_info *info)
 {
        stc_error_e error_code = STC_ERROR_NONE;
@@ -411,7 +411,7 @@ handle_error:
 }
 
 //LCOV_EXCL_START
-stc_error_e table_counters_update_timestamps(const table_counters_info *info)
+API stc_error_e table_counters_update_timestamps(const table_counters_info *info)
 {
        stc_error_e error_code = STC_ERROR_NONE;
        sqlite3_stmt *stmt = update_timestamp;
@@ -443,7 +443,7 @@ handle_error:
 //LCOV_EXCL_STOP
 
 
-stc_error_e table_counters_delete(uint64_t restriction_id)
+API stc_error_e table_counters_delete(uint64_t restriction_id)
 {
        stc_error_e error_code = STC_ERROR_NONE;
        sqlite3_stmt *stmt = delete_counter;