--- a/libpurple/network.h Thu Oct 26 04:38:25 2023 -0500
+++ b/libpurple/network.h Thu Oct 26 04:39:30 2023 -0500
@@ -45,7 +45,10 @@
* is the IP address that should be used for incoming connections
* (file transfer, direct IM, etc.) and should therefore be
void purple_network_set_public_ip(const char *ip);
@@ -56,7 +59,10 @@
* This returns the value set via purple_network_set_public_ip().
* Returns: The local IP address set in preferences.
const char *purple_network_get_public_ip(void);
@@ -86,7 +92,10 @@
* attempted to discover the local IP address depending on what's available.
* Returns: The local IP address to be used.
gchar *purple_network_get_my_ip_from_gio(GSocketConnection *sockconn);
@@ -95,7 +104,10 @@
* Detects if there is an available network connection.
* Returns: TRUE if the network is available
gboolean purple_network_is_available(void);
@@ -143,21 +155,30 @@
* Sets most commonly used socket flags: O_NONBLOCK and FD_CLOEXEC.
* Returns: %TRUE if succeeded, %FALSE otherwise.
gboolean _purple_network_set_common_socket_flags(int fd);
* Initializes the network subsystem.
void purple_network_init(void);
* Shuts down the network subsystem.
void purple_network_uninit(void);