Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / utils / networking.h
index 55c829152fa88f9c2b0151d10e70164c9a669ef3..f9c5f63dbc0218b516796349925b4edbd3fade03 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * networking.h: Portable networking functions
+/**
+ * \file
+ * Portable networking functions
  *
  * Author:
  *     Rodrigo Kumpera (kumpera@gmail.com)
@@ -79,28 +80,28 @@ typedef struct {
 } MonoAddress;
 
 /* This only supports IPV4 / IPV6 and tcp */
-int mono_get_address_info (const char *hostname, int port, int flags, MonoAddressInfo **res) MONO_INTERNAL;
+int mono_get_address_info (const char *hostname, int port, int flags, MonoAddressInfo **res);
 
-void mono_free_address_info (MonoAddressInfo *ai) MONO_INTERNAL;
+void mono_free_address_info (MonoAddressInfo *ai);
 
-void mono_socket_address_init (MonoSocketAddress *sa, socklen_t *len, int family, const void *address, int port) MONO_INTERNAL;
+void mono_socket_address_init (MonoSocketAddress *sa, socklen_t *len, int family, const void *address, int port);
 
-void *mono_get_local_interfaces (int family, int *interface_count) MONO_INTERNAL;
+void *mono_get_local_interfaces (int family, int *interface_count);
 
 #ifndef HAVE_INET_PTON
-int inet_pton (int family, const char *address, void *inaddrp) MONO_INTERNAL;
+int inet_pton (int family, const char *address, void *inaddrp);
 #endif
 
-void mono_address_init (MonoAddress *out_addr, int family, void *in_addr) MONO_INTERNAL;
-int mono_address_size_for_family (int family) MONO_INTERNAL;
-gboolean mono_networking_addr_to_str (MonoAddress *address, char *buffer, socklen_t buflen) MONO_INTERNAL;
+void mono_address_init (MonoAddress *out_addr, int family, void *in_addr);
+int mono_address_size_for_family (int family);
+gboolean mono_networking_addr_to_str (MonoAddress *address, char *buffer, socklen_t buflen);
 
-int mono_networking_get_tcp_protocol (void) MONO_INTERNAL;
-int mono_networking_get_ip_protocol (void) MONO_INTERNAL;
-int mono_networking_get_ipv6_protocol (void) MONO_INTERNAL;
+int mono_networking_get_tcp_protocol (void);
+int mono_networking_get_ip_protocol (void);
+int mono_networking_get_ipv6_protocol (void);
 
-void mono_networking_init (void) MONO_INTERNAL;
-void mono_networking_shutdown (void) MONO_INTERNAL;
+void mono_networking_init (void);
+void mono_networking_shutdown (void);
 
 
 #endif