From: Christian H. <ch...@gn...> - 2002-11-14 19:41:03
|
On Sun, Nov 10, 2002 at 02:23:47PM -0500, Sean Egan wrote: > I share Chip's concern. When I first sat down to write the file > transfer GUI was the first time I looked at the API and I noticed this > right away. Wouldn't it be better for the prpl to handle its sockets > itself and have its own callback which can strip headers and stuff and > then call a generic function with a pointer and a length? That would > seem to be the optimal solution. > > Apart from writing gtkcellrendererprogress, I've not started the file > transfer GUI--Rob may have started--either way changes to ft.c would not > interfere with it much, I'm sure. > > -s. Funny how I just got this post. I *thought* I was missing something in the reply! The simple addition of read and write functions, defaulting to libc read() and write() if they're NULL, allowed for file transfer in MSN. It works beautifully, and I've received many documents and images so far. Now I just want that file transfer dialog! ;) Christian -- Christian Hammond <> The GNUpdate Project ch...@gn... <> http://www.gnupdate.org/ 96.7% of all statistics are made up. |