RFC: namespaces

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Feb 27 18:29:07 CET 2006


In message <ujrirr0x5ud.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:

>Well, the alternatives are worse IMHO:
>
>open_log(const char *);         /* conflicts with libfoobar */
>varnish_open_log(const char *); /* too long */
>open(const char *);             /* oops */
>vlo_open(const char *);         /* that's better! */

Well, I would tend to consider the varnish process + mgt_process
namespace "private" and therefore not in need of a lot of prefix
whereas for the public API I fully agree a prefix is in order.

But as I said: I can live with it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list