This patch makes maintaining the Windows (MSVC) port harder because due to
this patch different mechanisms are used in the non-MSVC build and in the
MSVC-build for generating the header file
snmplib/transports/snmp_transport_inits.h. Would it be OK to revert this
patch and to add a file snmplib/transports/snmp_transport_inits.h with
contents similar to the following:

#ifdef NETSNMP_TRANSPORT_UDP_DOMAIN
netsnmp_udp_ctor();
#endif
#ifdef NETSNMP_TRANSPORT_TCP_DOMAIN
netsnmp_tcp_ctor();
#endif
#ifdef NETSNMP_TRANSPORT_ALIAS_DOMAIN
netsnmp_alias_ctor();
#endif
#ifdef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
netsnmp_udpipv6_ctor();
#endif
#ifdef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
netsnmp_tcpipv6_ctor();
#endif
[ ... ]

Bart.

---------- Forwarded message ----------
From: <[email protected]>
Date: Fri, Apr 2, 2010 at 6:36 PM
Subject: SF.net SVN: net-snmp:[18434] trunk/net-snmp
To: [email protected]


Revision: 18434
         http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18434&view=rev
Author:   hardaker
Date:     2010-04-02 16:36:01 +0000 (Fri, 02 Apr 2010)

Log Message:
-----------
CHANGES: generate the transport initialization function list dynamically and
use it

Modified Paths:
--------------
   trunk/net-snmp/Makefile.in
   trunk/net-snmp/configure
   trunk/net-snmp/configure.d/config_modules_lib
   trunk/net-snmp/snmplib/snmp_transport.c
   trunk/net-snmp/snmplib/transports/snmpTCPIPv6Domain.c
   trunk/net-snmp/snmplib/transports/snmpUDPIPv6Domain.c


This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-cvs
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to