On Thu, 2002-09-12 at 19:39, Adrian Chadd wrote:
>
> Hi,
>
> I'd like to look at changing the semantics of comm_write() in -HEAD.
>
> The main change that I'd like to do now is remove the free function pointer,
> and require everything to pass some form of handler function. Ok, so you
> can't just do throw-away writes, but .. well, you can if your callback
> function simply free()s the buffer.
>
> Any objections?
Oh, and a suggestion: create a couple of global callbacks that can be
used by default:
comm_write_free_on_complete
comm_wrote_cbfree_on_complete.
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:31 MST