Fixing the cli_initialize() interface.

Jeremy Allison jra at
Sat May 27 06:50:17 GMT 2006

On Fri, May 26, 2006 at 11:44:22PM -0700, Jeremy Allison wrote:
> Derrell, will this cause you problems in
> libsmbclient maintaining binary compatibility ?
> I don't think so although you are a stack user
> of cli_initialize() - just in one place, this
> will need to be fixed.


I've noticed also you declare a 

struct cli_state cli;

as a structure member instead of a 
pointer in struct _SMBCSRV, but this
is in include/libsmb_internal.h. This
should be able to be changed to :

struct cli_state *pcli;

in this structure without breaking binary
compatibility - right ?


More information about the samba-technical mailing list