RouteEntry routes[1];
} RouteTable;
+typedef enum _CLASS_TABLE {
+ ClassBasic,
+ ClassModulePid,
+ ClassModule
+} CLASS_TABLE;
+
/* Allocates and returns to you the route table, or NULL if it can't allocate
- * enough memory. free() the returned table.
+ * enough memory. HeapFree() the returned table.
*/
RouteTable *getRouteTable(void);
DWORD getNumArpEntries(void);
/* Allocates and returns to you the arp table, or NULL if it can't allocate
- * enough memory. free() the returned table.
+ * enough memory. HeapFree() the returned table.
*/
PMIB_IPNETTABLE getArpTable(void);
DWORD getNumUdpEntries(void);
/* Allocates and returns to you the UDP state table, or NULL if it can't
- * allocate enough memory. free() the returned table.
+ * allocate enough memory. HeapFree() the returned table.
*/
-PMIB_UDPTABLE getUdpTable(void);
+PVOID getUdpTable(CLASS_TABLE Class);
/* Returns the number of entries in the TCP state table. */
DWORD getNumTcpEntries(void);
/* Allocates and returns to you the TCP state table, or NULL if it can't
- * allocate enough memory. free() the returned table.
+ * allocate enough memory. HeapFree() the returned table.
*/
-PMIB_TCPTABLE getTcpTable(void);
+PVOID getTcpTable(CLASS_TABLE Class);
#endif /* ndef WINE_IPSTATS_H_ */