CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2020/01/06 10:41:30

Modified files:
        usr.sbin/bind  : configure configure.in 
        usr.sbin/bind/bin/dig: dighost.c 
        usr.sbin/bind/lib/lwres: Makefile.in lwconfig.c 
        usr.sbin/bind/lib/lwres/include/lwres: lwres.h 
Removed files:
        usr.sbin/bind/lib/lwres: Atffile api assert_p.h compat.c 
                                 context.c context_p.h gai_strerror.c 
                                 getaddrinfo.c gethost.c getipnode.c 
                                 getnameinfo.c getrrset.c herror.c 
                                 lwbuffer.c lwinetaton.c lwinetntop.c 
                                 lwinetpton.c lwpacket.c lwres_gabn.c 
                                 lwres_gnba.c lwres_grbn.c lwres_noop.c 
                                 lwresutil.c print.c print_p.h version.c 
        usr.sbin/bind/lib/lwres/include: Makefile.in 
        usr.sbin/bind/lib/lwres/include/lwres: Makefile.in context.h 
                                               int.h ipv6.h lang.h 
                                               lwbuffer.h lwpacket.h 
                                               netdb.h.in platform.h.in 
                                               stdlib.h string.h 
                                               version.h 
        usr.sbin/bind/lib/lwres/man: Makefile.in lwres.3 lwres.html 
                                     lwres_buffer.3 lwres_buffer.html 
                                     lwres_config.3 lwres_config.html 
                                     lwres_context.3 lwres_context.html 
                                     lwres_gabn.3 lwres_gabn.html 
                                     lwres_gai_strerror.3 
                                     lwres_gai_strerror.html 
                                     lwres_getaddrinfo.3 
                                     lwres_getaddrinfo.html 
                                     lwres_gethostent.3 
                                     lwres_gethostent.html 
                                     lwres_getipnode.3 
                                     lwres_getipnode.html 
                                     lwres_getnameinfo.3 
                                     lwres_getnameinfo.html 
                                     lwres_getrrsetbyname.3 
                                     lwres_getrrsetbyname.html 
                                     lwres_gnba.3 lwres_gnba.html 
                                     lwres_hstrerror.3 
                                     lwres_hstrerror.html 
                                     lwres_inetntop.3 
                                     lwres_inetntop.html lwres_noop.3 
                                     lwres_noop.html lwres_packet.3 
                                     lwres_packet.html lwres_resutil.3 
                                     lwres_resutil.html 
        usr.sbin/bind/lib/lwres/unix: Makefile.in 
        usr.sbin/bind/lib/lwres/unix/include: Makefile.in 
        usr.sbin/bind/lib/lwres/unix/include/lwres: Makefile.in net.h 

Log message:
We only need the config parser from liblwres.

This pulls out the config object (lwres_conf_t) from the context
(lwres_context_t), switches to libc functions (lwres_net_ntop vs
inet_ntop etc ) and removes a lwres_ prefix from number types
(lwres_uint8_t vs uint8_t etc).

With that we can nearly empty out lib/lwres and lose about 20k lines in
the process.

OK sthen

Reply via email to