summaryrefslogtreecommitdiff
path: root/protocols/ConnectionNotify/src/netstat.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-23 13:30:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-23 13:30:45 +0300
commit5bcd9e270692e1c3839d9905dbe28d30108fc1a3 (patch)
tree6d2e4430549d7b8dbc0d605e68b623c445d3d6d6 /protocols/ConnectionNotify/src/netstat.h
parent48cdf8c723137754bd2dab9d4c0618afbd306d27 (diff)
ConnectionNotify:
- fixes #2014 (traces of removed statuses); - code cleaning
Diffstat (limited to 'protocols/ConnectionNotify/src/netstat.h')
-rw-r--r--protocols/ConnectionNotify/src/netstat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/ConnectionNotify/src/netstat.h b/protocols/ConnectionNotify/src/netstat.h
index e4d1631775..de54663906 100644
--- a/protocols/ConnectionNotify/src/netstat.h
+++ b/protocols/ConnectionNotify/src/netstat.h
@@ -9,10 +9,10 @@ struct CONNECTION
int state;
DWORD Pid;
wchar_t PName[260];
- struct CONNECTION *next;
+ CONNECTION *next;
};
-struct CONNECTION* GetConnectionsTable();
-void deleteConnectionsTable(struct CONNECTION* head);
-struct CONNECTION* searchConnection(struct CONNECTION* head, wchar_t *intIp, wchar_t *extIp, int intPort, int extPort, int state);
+CONNECTION* GetConnectionsTable();
+void deleteConnectionsTable(CONNECTION* head);
+CONNECTION* searchConnection(CONNECTION* head, wchar_t *intIp, wchar_t *extIp, int intPort, int extPort, int state);
void getDnsName(wchar_t *strIp, wchar_t *strHostName, size_t len);