diff options
Diffstat (limited to 'plugins/ConnectionNotify/src/netstat.h')
-rw-r--r-- | plugins/ConnectionNotify/src/netstat.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/ConnectionNotify/src/netstat.h b/plugins/ConnectionNotify/src/netstat.h new file mode 100644 index 0000000000..ccabf3df4b --- /dev/null +++ b/plugins/ConnectionNotify/src/netstat.h @@ -0,0 +1,21 @@ +#pragma once
+
+
+
+struct CONNECTION
+{
+ TCHAR strIntIp[16];
+ TCHAR strExtIp[16];
+ int intIntPort;
+ int intExtPort;
+ int state;
+ DWORD Pid;
+ TCHAR PName[260];
+ struct CONNECTION *next;
+};
+
+struct CONNECTION* GetConnectionsTable();
+void deleteConnectionsTable(struct CONNECTION* head);
+struct CONNECTION* searchConnection(struct CONNECTION* head,TCHAR *intIp,TCHAR *extIp,int intPort,int extPort,int state);
+void getDnsName(TCHAR *strIp,TCHAR *strHostName);
+int wildcmp(const TCHAR *wild, const TCHAR *string);
\ No newline at end of file |