libmsrpc function naming

Jeremy Allison jra at samba.org
Thu Jul 21 19:08:43 GMT 2005


On Thu, Jul 21, 2005 at 02:07:05PM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Chris Nicholls wrote:
> > Hey,
> > 
> > Any preference as to how the function names are prefixed?
> > 
> > Although the library is libmsrpc, i kinda don't like 
> > having ms in every function name ;) (ie msrpc_some_fn() ). But
> > it probably makes the most sense to name them that way.
> 
> I really don't like having ms in the name either.  msrpc is
> a little long and hard to type.  We could follow the smbc_XX()
> convention and choose rpcc_XX() bhut that looks like a typo.
> maybe cmc_XX() for "CIFS management client" or cac_XX() for
> "CIFS Admistration Client).  Could also be Chris' Administration
> client.  Or Hey!  cral_XX() for Chris' remote administration library?
> :-)

scrap_XX() (Simple Cifs Remote Administration Protocol). Even has
"simple" in the name so it's on the fast track for IETF standards !


More information about the samba-technical mailing list