libsmbclient for Samba4: initial design issues

Jeremy Allison jra at samba.org
Fri Aug 12 22:01:03 GMT 2005


On Fri, Aug 12, 2005 at 05:10:18PM -0400, Michael B Allen wrote:
> On Fri, 12 Aug 2005 15:25:03 -0400
> derrell at samba.org wrote:
> 
> >  - Allow for an asynchronous interface with event notification.
> 
> Just to give you some other ideas consider an interface like this:
> 
>   int client_sendrecv(struct client *client,
>         struct request *request,
>         struct response *response,
>         int flags);

This looks very nice and useable. There needs to be some way to
get the underlying fd out from the client struct for the "async"
calls so that this can be hooked into ordinary "select/poll/epoll"
based code.

Jeremy.


More information about the samba-technical mailing list