ab at samba.org
Thu Nov 2 09:50:55 GMT 2006
tridge at samba.org wrote:
> I've been working on an initial tcp implementation, and keep changing
> the API as I go along. To give you an idea of my current thoughts,
> you can see a simple bit of test code here:
> no actual implementation of this yet, but it will at least give you
> an idea of what API I'm now thinking of, and how the fetch and
> conditional_append calls can be combined into a much more general
> ctdb_call() approach.
Yep, this is largely similar to our own ideas for CTDB API.
I'm not yet sure that warping everything into a multiplexer would be
good though but given that all those calls have same input and output it
We'll need to take care of separating both client and server part of
CTDB API and this is where probably multiplexer-like ctdb_call() might
be a better approach as it would allow to keep the high level API the
same and differentiate within the ctdb_call() implementations.
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
More information about the samba-technical