5 #ifndef __MONO_NETWORK_INTERFACES_H__
6 #define __MONO_NETWORK_INTERFACES_H__
8 * Utility functions to access network information.
12 #include <mono/utils/mono-compiler.h>
14 /* never remove or reorder these enums values: they are used in corlib/System */
17 MONO_NETWORK_BYTESREC,
18 MONO_NETWORK_BYTESSENT,
19 MONO_NETWORK_BYTESTOTAL
23 MONO_NETWORK_ERROR_NONE, /* no error happened */
24 MONO_NETWORK_ERROR_NOT_FOUND, /* adapter name invalid */
25 MONO_NETWORK_ERROR_OTHER
28 gpointer *mono_networkinterface_list (int *size);
29 gint64 mono_network_get_data (char* name, MonoNetworkData data, MonoNetworkError *error);
31 #endif /* __MONO_NETWORK_INTERFACES_H__ */