blob: cddcb82052eb0c8cc3546eed190311d119a4038b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef _PING_UTILS
#define _PING_UTILS
//#include <string>
#include <time.h>
#include "common.h"
#include "pingthread.h" // for mainthread, for popup
//#include "icmp.h"
#include "rawping.h"
#include "options.h"
#include "icmp.h"
/*
std::string trim_string(const std::string &in);
void capitalize(std::string &in);
*/
void __stdcall ShowPopup( const char* line1, const char* line2, int flags );
int PluginPing(WPARAM wParam,LPARAM lParam);
void Lock(CRITICAL_SECTION *cs, char *lab);
void Unlock(CRITICAL_SECTION *cs);
int PingDisableAll(WPARAM wParam, LPARAM lParam);
int PingEnableAll(WPARAM wParam, LPARAM lParam);
int ToggleEnabled(WPARAM wParam, LPARAM lParam);
int ContactDblClick(WPARAM wParam, LPARAM lParam);
int EditContact(WPARAM wParam, LPARAM lParam);
// read in addresses from old pingplug
void import_ping_addresses();
extern bool use_raw_ping;
#endif
|