Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 1999 14:40:03 -0700
From:      John Plevyak <jplevyak@inktomi.com>
To:        Wes Peters <wes@softweyr.com>, John Plevyak <jplevyak@inktomi.com>
Cc:        lab@gta.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Possible conflict in nameser.h
Message-ID:  <19990604144003.A17015@tsdev.inktomi.com>
In-Reply-To: <37577B9F.93DB3DD0@softweyr.com>; from Wes Peters on Fri, Jun 04, 1999 at 01:09:19AM -0600
References:  <375707D7.CBE3586B@gta.com> <19990603162104.C8565@tsdev.inktomi.com> <37577B9F.93DB3DD0@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

The patch passes 'make world'.  I don't know about all the ports.
Technically, the member should be private, with the public interface
being:

#define ns_rr_class(rr)       ((rr).class + 0)

The problems would be those who need an lval (like ns_parse.c).

> This is fixed in BIND-8.2.1, currently in beta testing. (The struct
> member is renamed to rr_class instead of just _class.) 
>  
> Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Great!  Then this would be a temporary patch.

On Fri, Jun 04, 1999 at 01:09:19AM -0600, Wes Peters wrote:
> Sadly, just slapping extern "C" {} around it doesn't help.  Have you 
> done a "make world" to see what breaks?  Personally, I don't like the 
> _class nomenclature, I'd rather see qclass or something of that sort;
> a leading _ generally implies something buried in the bowels of the 
> implementation.  I also worry about breaking any ports that use low-
> level features of the resolver.
> 
> All in all, an ulgy little problem you've brought up here.  ;^)

I agree that '_class' is a bit hokey, but if it is temporary
'_class' is more appealing since it looks that way :)

john

-- 
John Bradley Plevyak,    PhD,    jplevyak@inktomi.com,     PGP KeyID: 051130BD
Inktomi Corporation,  1900 S. Norfolk Street,  Suite 310,  San Mateo, CA 94403
W:(650)653-2830 F:(650)653-2889 P:(888)491-1332/5103192436.4911332@pagenet.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990604144003.A17015>