[PATCH 3/6] Add wbcContext struct, create and free functions

Matthew Newton mcn4 at leicester.ac.uk
Tue Feb 24 06:28:51 MST 2015


On Tue, Feb 24, 2015 at 12:21:38PM +0100, Volker Lendecke wrote:
> On Mon, Feb 23, 2015 at 01:20:08AM +0000, Matthew Newton wrote:
> > +/**
> > + *  @brief Library context data
> > + *
> > + **/
> > +
> > +struct wbcContext {
> > +	void *winbindd_ctx;     /* winbindd context */
> > +};
> 
> Same question as the previous one: Can we hide the struct
> definition and make this an anonymous struct?

Yes, that works for me - I'll move it to wbclient_internal.h,
which will have the added benefit that the void can change back to
a "struct winbindd_context" (it couldn't be that before as clients
don't know what that is).

Cheers,

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the samba-technical mailing list