summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/stdafx.h')
-rw-r--r--plugins/Ping/src/stdafx.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/plugins/Ping/src/stdafx.h b/plugins/Ping/src/stdafx.h
index 7dfa5e5b09..180135f0e8 100644
--- a/plugins/Ping/src/stdafx.h
+++ b/plugins/Ping/src/stdafx.h
@@ -51,8 +51,6 @@
#define DEFAULT_NO_TEST_ICON true
#define DEFAULT_ATTACH_TO_CLIST false
-#define MAX_PINGADDRESS_STRING_LENGTH 256
-
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
@@ -82,38 +80,9 @@ struct HistPair {
};
typedef LinkedList< HistPair > HistoryList;
-
-#define PS_RESPONDING 1
-#define PS_NOTRESPONDING 2
-#define PS_TESTING 3
-#define PS_DISABLED 4
-
-struct PINGADDRESS {
- int cbSize; //size in bytes of this structure
- uint32_t item_id;
- wchar_t pszName[MAX_PINGADDRESS_STRING_LENGTH]; //IP address or domain name
- wchar_t pszLabel[MAX_PINGADDRESS_STRING_LENGTH];
- bool responding;
- int status;
- short round_trip_time;
- int miss_count;
- int port; // -1 for ICMP, non-zero for TCP
- char pszProto[MAX_PINGADDRESS_STRING_LENGTH];
- wchar_t pszCommand[MAX_PATH];
- wchar_t pszParams[MAX_PATH];
- unsigned int get_status; // on success, if status equals this
- unsigned int set_status; // set it to this
- int index;
-
- const bool operator==(const PINGADDRESS &b) const;
- const bool operator<(const PINGADDRESS &b) const;
-};
-
#include "options.h"
typedef Map<uint32_t, HistoryList> HistoryMap;
-typedef std::list<PINGADDRESS> PINGLIST;
-typedef std::list<PINGADDRESS>::iterator pinglist_it;
extern HNETLIBUSER hNetlibUser;