proposal: libsmbclient functionality addition

Matt Seitz matt.seitz at
Wed Jun 19 12:19:02 GMT 2002

>From: Andrew Bartlett [mailto:abartlet at]
>If you want to know the kind of code I like, see the passdb subsystem. 
>It is complex, but I really like code that has only one entrypoint
>(think namespace pollution), and puts the rest of the functions on a
>struct, as function pointers.  Each funciton takes the struct as an arg,
>(becouse C doesn't have 'Current').

I took a quick look through passdb.c but I didn't see any examples of
structures containing function pointers.  Where should I be looking?

More information about the samba-technical mailing list