diff options
author | ulim <a.sporto+bee@gmail.com> | 2007-12-04 01:53:04 +0100 |
---|---|---|
committer | ulim <a.sporto+bee@gmail.com> | 2007-12-04 01:53:04 +0100 |
commit | fa30fa598d2e77c998f9156d0f31ccf99b0c781f (patch) | |
tree | f238de491573827510c55e29cf80e2fda7ccc793 /protocols/nogaim.h | |
parent | 2c2df7dd91930345a9b22a8bb61327d1dcc7e3d5 (diff) | |
parent | dce390357114e30a424106c99e49cef1e682e1af (diff) |
Jabber file transfer now also with sending! You can't use a proxy yet when
sending, that's my next task. You can use proxies when receiving though!
I also changed the buffering strategy. Previously receiving continued till some
buffer limit was reached, now only one message is received and receiving stops
till it is delivered. This keeps the buffering space per file transfer to a
minimum(currently 4k). Makes sense when used on a public server. For public
servers a throughput maximum would also be interesting...
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r-- | protocols/nogaim.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h index 8651754a..f17c5a1e 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -228,6 +228,9 @@ struct prpl { /* Mainly for AOL, since they think "Bung hole" == "Bu ngho le". *sigh* * - Most protocols will just want to set this to g_strcasecmp().*/ int (* handle_cmp) (const char *who1, const char *who2); + + /* Incoming transfer request */ + void (* transfer_request) (struct im_connection *, file_transfer_t *ft, char *handle ); }; /* im_api core stuff. */ |