On Wed, Oct 13, 2010 at 12:23 PM, Dave Shield <d.t.shi...@liverpool.ac.uk> wrote: > On 13 October 2010 17:16, Wes Hardaker <harda...@users.sourceforge.net> wrote: >> BF> I updated net-snmp to 5.6, and all of my net-snmp consumers broke. It >> BF> looks like <net-snmp/library/snmp_api.h> (included from >> BF> <net-snmp/session_api.h> accidentally used "netsnmp_transport *" >> BF> instead of "struct netsnmp_transport_s *": > > >> Also, I bet if you had included net-snmp/types.h first it would have >> worked as well. >> >> Anyway, I'm applying your patch for the 5.6.1 release. > > > Though there is still the question of why these APIs are using > "struct netsnmp_transport_s" > in the first place, rather than > "netsnmp_transport " > (which is the naming style used for all other structures)
The obvious answer -- the reason that I got a compilation error -- is that netsnmp_transport is not yet defined. The question of "why are the header files not structured so that these APIs can use "netsnmp_transport"" is probably Wes's hysterical raisins. Bill ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders