PATCH: assuan_socket_connect_fd()

Ben Kibbey bjk at luxsci.net
Sat Sep 20 04:36:51 CEST 2008


Heres a patch to create an assuan_context_t for an already connected
socket FD. This implements assuan_socket_connect_fd(). The "data"
parameter is like assuan_set_pointer() but gets set just before the
assuan handshake.

Also added is assuan_set_finish_handler() that, when set, gets called in
assuan_disconnect() before the file descriptors are closed.

Hopefully it doesn't break anything. Seems to work over here though.

-- 
Benjamin J. Kibbey bjk at luxsci.net/jabber/freenode
3019 F5FC AA33 5BC7 BE9F 09D2 393E DBD2 40D5 FA7E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assuan_socket_connect_fd.diff
Type: text/x-diff
Size: 4762 bytes
Desc: not available
URL: </pipermail/attachments/20080919/73bb99b9/attachment.diff>


More information about the Gnupg-devel mailing list