Re: CVS update: samba/source/lib/rpc/server

Jeremy Allison (jallison@whistle.com)
Tue, 17 Mar 1998 09:32:55 -0800

Date:	Tue, 17 Mar 1998 09:32:55 -0800
From:	Jeremy Allison <jallison@whistle.com>
To:	tridge@samba.anu.edu.au
Subject: Re: CVS update: samba/source/lib/rpc/server

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 :-).

>
> It would take maybe 2-3 days solid work to convert Samba over to this
> scheme (for NBT only). We should do it before 2.0.
>

Don't forget the 2-3 weeks of re-testing afterwards :-).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------