summaryrefslogtreecommitdiff
path: root/libpurple/internal.h
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@pidgin.im>2014-05-20 11:57:20 +0200
committerTomasz Wasilczyk <twasilczyk@pidgin.im>2014-05-20 11:57:20 +0200
commit94d212f5e7312ec7791a91de376705ce2122ebe1 (patch)
tree021ce8a8cb400b4660433a3f6baaf9ce19358ef2 /libpurple/internal.h
parent265052422f4f0c80ae7ab02de0f9b771146df490 (diff)
downloadpidgin-94d212f5e7312ec7791a91de376705ce2122ebe1.tar.gz
PurpleSocket: fix a crash
Diffstat (limited to 'libpurple/internal.h')
-rw-r--r--libpurple/internal.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libpurple/internal.h b/libpurple/internal.h
index aaa6b1f91c..289f88e80c 100644
--- a/libpurple/internal.h
+++ b/libpurple/internal.h
@@ -365,4 +365,29 @@ _purple_network_set_common_socket_flags(int fd);
int
_purple_fstat(int fd, GStatBuf *st);
+/**
+ * _purple_socket_cancel_with_connection:
+ * @gc The connection.
+ *
+ * Cancels all #PurpleSocket instances bound with @gc.
+ */
+void
+_purple_socket_cancel_with_connection(PurpleConnection *gc);
+
+/**
+ * _purple_socket_init: (skip)
+ *
+ * Initializes the #PurpleSocket subsystem.
+ */
+void
+_purple_socket_init(void);
+
+/**
+ * _purple_socket_uninit: (skip)
+ *
+ * Uninitializes the #PurpleSocket subsystem.
+ */
+void
+_purple_socket_uninit(void);
+
#endif /* _PURPLE_INTERNAL_H_ */