tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nameser.h vs nameser_compat.h



On Fri, May 15, 2009 at 02:14:08PM +0000, Christos Zoulas wrote:
> In article <20090515122522.GA12787%pintail.smokva.net@localhost>,
> Petar Bogdanovic  <petar%smokva.net@localhost> wrote:
> >Hi,
> >
> >while using res_query(3) I found out that a lot of examples in various
> >3rd party programs use types/macros/defines from arpa/nameser_compat.h
> >Stuff which was originally in arpa/nameser.h but then was moved and
> >renamed in order to cleanup the naming (wild guess).
> >
> >I tried to stick with the newer arpa/nameser.h and found equivalents for
> >all items I need, except the HEADER structure:
> >
> >          T_A --> ns_t_a
> >     QFIXEDSZ --> NS_QFIXEDSZ
> >     PACKETSZ --> NS_PACKETSZ
> >        (...) --> (...)
> >       HEADER --> ?
> >
> >
> >Is there something like NS_HEADER or are you still supposed to use
> >HEADER?
> >
> 
> the ns_msg_* macros and function?

Thanks, I completely missed {ns_msg,ns_rr}_*!



   Petar Bogdanovic





Home | Main Index | Thread Index | Old Index