1 #ifndef __MONO_NETWORK_INTERFACES_H__
2 #define __MONO_NETWORK_INTERFACES_H__
4 * Utility functions to access network information.
8 #include <mono/utils/mono-compiler.h>
10 /* never remove or reorder these enums values: they are used in corlib/System */
13 MONO_NETWORK_BYTESREC
,
14 MONO_NETWORK_BYTESSENT
,
15 MONO_NETWORK_BYTESTOTAL
19 MONO_NETWORK_ERROR_NONE
, /* no error happened */
20 MONO_NETWORK_ERROR_NOT_FOUND
, /* adapter name invalid */
21 MONO_NETWORK_ERROR_OTHER
24 gpointer
*mono_networkinterface_list (int *size
) MONO_INTERNAL
;
25 gint64
mono_network_get_data (char* name
, MonoNetworkData data
, MonoNetworkError
*error
) MONO_INTERNAL
;
27 #endif /* __MONO_NETWORK_INTERFACES_H__ */