Fixing SMBC_getatr prototype

Derrell Lipman derrell.lipman at
Thu Feb 5 01:38:28 GMT 2009

On Wed, Feb 4, 2009 at 3:59 PM, Jeremy Allison <jra at> wrote:

> Derrell,
>        Currently the prototype for SMBC_getatr
> takes a "char *" instead of a "const char *".
> I'd like to fix this. Will this break the current
> ABI for libsmbclient ?

Hi Jeremy,

My convention is that any function with an uppercase module prefix (SMBC_)
is global only because it is referenced in other files internal to
libsmbclient. Public functions (except possibly some that remain for legacy
reasons, and I don't believe any of those remain) all use a lowercase module
prefix (smbc_). Therefore it will not break the ABI to change it. I have no
problem with that change as long as it doesn't add compiler warnings. :-)

What led you to discover this?


More information about the samba-technical mailing list