a little change in _send functions of libnet

Rafal Szczesniak mimir at samba.org
Sun Dec 17 17:36:26 GMT 2006


Metze,

I'm thinking about changing _send functions so that they don't
take TALLOC_CTX argument. This means the composite context would
be based on libnet_context from the very beginning (right in
composite_create call). TALLOC_CTX would in such case be used
in _recv calls, for transferring the libnet function results.

This could simplify the code a bit, and make all memory allocation
depend on single libnet_context.

Thoughts ?


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20061217/58ff0e40/attachment.bin


More information about the samba-technical mailing list