summaryrefslogtreecommitdiff
path: root/plugins/ping/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ping/utils.h')
-rw-r--r--plugins/ping/utils.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/ping/utils.h b/plugins/ping/utils.h
new file mode 100644
index 0000000000..0d27745908
--- /dev/null
+++ b/plugins/ping/utils.h
@@ -0,0 +1,35 @@
+#ifndef _PING_UTILS
+#define _PING_UTILS
+
+#pragma warning( disable : 4786 )
+
+#include "pingthread.h" // for mainthread, for popup
+//#include "icmp.h"
+#include "rawping.h"
+#include "icmp.h"
+#include "options.h"
+
+void __stdcall ShowPopup( const char* line1, const char* line2, int flags );
+
+INT_PTR PluginPing(WPARAM wParam,LPARAM lParam);
+
+void Lock(CRITICAL_SECTION *cs, char *lab);
+void Unlock(CRITICAL_SECTION *cs);
+
+INT_PTR PingDisableAll(WPARAM wParam, LPARAM lParam);
+INT_PTR PingEnableAll(WPARAM wParam, LPARAM lParam);
+
+INT_PTR ToggleEnabled(WPARAM wParam, LPARAM lParam);
+
+INT_PTR DblClick(WPARAM wParam, LPARAM lParam);
+
+INT_PTR EditContact(WPARAM wParam, LPARAM lParam);
+// read in addresses from old pingplug
+void import_ping_addresses();
+
+// use icolib if possible
+void InitUtils();
+extern HICON hIconResponding, hIconNotResponding, hIconTesting, hIconDisabled;
+
+
+#endif