From 4ea5c77793db8c8b3928924360db3d663ece068b Mon Sep 17 00:00:00 2001 From: Mohamed Boussaffa Date: Sun, 6 Mar 2016 21:19:05 +0800 Subject: [PATCH] removing unecessary functions --- libnethogs.cpp | 10 ---------- libnethogs.h | 5 ----- 2 files changed, 15 deletions(-) diff --git a/libnethogs.cpp b/libnethogs.cpp index 05f3802..6facebd 100644 --- a/libnethogs.cpp +++ b/libnethogs.cpp @@ -265,16 +265,6 @@ void nethogsmonitor_register_callback(NethogsMonitorCallback cb) } } -void nethogsmonitor_set_refresh_delay(int seconds) -{ - monitor_refresh_delay = seconds; -} - -void nethogsmonitor_set_pcap_dispatch_delay(int milliseconds) -{ - monitor_pc_dispatch_delay_ms = milliseconds; -} - bool nethogsmonitor_start() { bool expected = false; diff --git a/libnethogs.h b/libnethogs.h index dbd35f0..64e9384 100644 --- a/libnethogs.h +++ b/libnethogs.h @@ -35,11 +35,6 @@ NETHOGS_DSO_VISIBLE bool nethogsmonitor_start(); //stop the monitor NETHOGS_DSO_VISIBLE void nethogsmonitor_stop(); -//tuning functions -NETHOGS_DSO_VISIBLE void nethogsmonitor_set_refresh_delay(int seconds); -NETHOGS_DSO_VISIBLE void nethogsmonitor_set_pcap_dispatch_delay(int milliseconds); - - #undef NETHOGS_DSO_VISIBLE #undef NETHOGS_DSO_HIDDEN