On Thu, 7 Jan 2016 12:01:51 -0500 Donald Sharp <[email protected]> wrote:
> Thanks for taking the time to explain your reasoning a bit more. > Zebra includes the zserv protocol defines which are for communication > between, zebra and the routing daemons. It has no need to know > anything about interface types. Which is what if.h should provide. > > I'm going to stand by my original statement. enum zebra_link_type > belongs in if.h The ll_type is the enumeration passed on the wire. Ultimately all the wire-protocol #defines and enumerations should be in standalone header, so it can be exported and used in projects without dependency to rest of the lib/. I did not want to put it in if.h since it contains all the internal lib structures and function prototypes. Granted, currently zebra.h does not really serve the purpose as it has been overloaded to #include other stuff. Perhaps we should take all the zserv wire-protocol related stuff and put it to zserv.h or similar. That should be explicitly licensed liberally so we can have non-GPL modules in future. Thanks, Timo _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
