Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-03-05 00:37:59 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-03-05 00:37:59 +0300
commitdeaa65989536f206d7ac4a0371dde6c0638dc275 (patch)
treeb42c733371f941cd6e6a35d6a7b7e14b8365ee14 /tgp-ft.h
parent39c9d6d5b432bf7292aaf0c098db7424efa3f415 (diff)
Fix segfault in file transfer memory management
Diffstat (limited to 'tgp-ft.h')
-rw-r--r--tgp-ft.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tgp-ft.h b/tgp-ft.h
index f20b186..e12a95e 100644
--- a/tgp-ft.h
+++ b/tgp-ft.h
@@ -22,8 +22,13 @@
#define __telegram_adium__tgp_ft__
#include <stdio.h>
+#include <tgl.h>
+
+#include "tgp-structs.h"
PurpleXfer *tgprpl_new_xfer (PurpleConnection * gc, const char *who);
void tgprpl_send_file (PurpleConnection * gc, const char *who, const char *file);
void tgprpl_recv_file (PurpleConnection * gc, const char *who, struct tgl_document *D);
+void tgprpl_xfer_free_all (connection_data *conn);
+
#endif