CVS update: samba/source/lib/rpc/server
Jeremy Allison
jallison at whistle.com
Tue Mar 17 17:32:55 GMT 1998
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.
--------------------------------------------------------
More information about the samba-technical
mailing list