Date: Tue, 17 Mar 1998 19:06:35 +0000 (GMT) From: Luke Kenneth Casson Leighton <lkcl@switchboard.net> To: Multiple recipients of list <samba-technical@samba.anu.edu.au>, Jeremy Allison <jallison@whistle.com> Subject: Re: CVS update: samba/source/lib/rpc/server In-Reply-To: <350EB3C7.5656AEC7@whistle.com>
On Wed, 18 Mar 1998, Jeremy Allison wrote:
> Andrew Tridgell wrote:
> >
> > In fact, I don't actually want lots of nb_* routines. Instead I want a
> > nb_initialise() which returns a structure something like this:
> >
> > struct encap_layer {
> > void (*allocate)(int maxsize);
> > void (*free)(void *ptr);
> > int (*read)(void *ptr, int maxsize);
> > int (*write)(void *ptr, int size);
> > int (*poll)(void );
> > };
>
> Hmmmm. Methinks these are C++ member functions.
> We'll get you to use C++ yet, Andrew :-).
hey, i've just had a _great_ idea. whyyy don't we rewrite samba in c++?