aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r--protocols/nogaim.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index 7d391edd..dde0dd2f 100644
--- a/protocols/nogaim.h
+++ b/protocols/nogaim.h
@@ -130,6 +130,25 @@ struct buddy {
struct im_connection *ic; /* the connection it belongs to */
};
+struct ft
+{
+ const char *filename;
+
+ /* Total number of bytes in file */
+ size_t total_bytes;
+
+ /* Current number of bytes received */
+ size_t cur_bytes;
+};
+
+struct ft_request
+{
+ const char *filename;
+ struct gaim_connection *gc;
+};
+
+typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len);
+
struct prpl {
int options;
/* You should set this to the name of your protocol.