From: SourceForge.net <no...@so...> - 2006-05-12 17:07:17
|
Bugs item #1375467, was opened at 2005-12-07 17:17 Message generated for change (Comment added) made by papadopo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1375467&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: IINR - Include In Next Release Status: Open Resolution: None Priority: 5 Submitted By: Bruce M Simpson (bms_spc) Assigned to: Nobody/Anonymous (nobody) Summary: Add missing networking definitions Initial Comment: Hi, Here is a patch against w32api-3.5-src to provide various header files and link libraries required by the eXtensible Open Router Project (XORP), which is currently built for Windows using MinGW 5.0.0. This isn't a full update, but it includes everything believed necessary to build XORP and the IP routing sample DLL included with the Microsoft Platform SDK. Updates for Windows Server 2003 SP1 SDK: -liphlpapi -lkernel32 <iphlpapi.h> <winbase.h> <winnt.h> New libraries and headers include: -lrtm -lrtutils -lmprapi <mgm.h> <mprapi.h> <mprerror.h> <routprot.h> <rtinfo.h> <rtmv2.h> <rtutils.h> <stm.h> Please do include these in the next release if at all possible, as XORP will require them in order to build, we'd be very grateful. Kind regards, BMS ---------------------------------------------------------------------- >Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-12 19:07 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- This macro function is not documented in MSDN: MprInfoBlockExists Where does it come from? What is it needed for? Not adding it for now. The rest of mprapi.h should be complete in CVS by now. ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-12 19:02 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- The following function is not cited in the reference documentation: MprConfigServerSetInfo but it appears in MSDN example code: http://msdn.microsoft.com/library/en-us/rras/rras/setting_l2tp_and_pptp_ports.asp So I'm adding it. The following functions are not documented anywhere: MprConfigServerRefresh MprAdminDeviceEnum MprSetupIpInIpInterfaceFriendlyNameEnum MprSetupIpInIpInterfaceFriendlyNameFree MprSetupIpInIpInterfaceFriendlyNameCreate MprSetupIpInIpInterfaceFriendlyNameDelete So I'm not declaring them. What are they needed for? ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-12 18:23 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- The following constants: MPRDM_DialAll MPRDM_DialAsNeeded MPRIDS_Disabled MPRIDS_UseGlobalValue have already been added as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/mpr_interface_2.asp However MPRDM_DialFirst is not documented by MSDN. What is needed for? ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-12 18:18 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- The following macro constants are not documented by MSDN: MPR_MaxIpAddress MPR_MaxIpxAddress MPR_MaxEntryName MPR_MaxCallbackNumber MPR_MaxAreaCode I'm not adding them for now. What would they be needed for? The rest of MPR_Max* constants have already been added. ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-02 14:01 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- Add structures PPP_*INFO*, RAS_CONNECTION_*, RAS_PORT_*, RAS_USER_* as defined here: http://msdn.microsoft.com/library/en-us/rras/rras/ras_administration_structures.asp Include <lmcons.h> for NETBIOS_NAME_LEN, UNLEN, DLEN constants needed by above structures. Define macros RAS_FLAGS_* as needed by some of the above structures: http://msdn.microsoft.com/library/en-us/rras/rras/ras_connection_0.asp By the way, RAS_FLAGS_ARAP_CONNECTION is documented but doesn't seem to be defined??? Define macros PPP_LCP_* as needed by PPP_LCP_INFO: http://msdn.microsoft.com/library/en-us/rras/rras/ppp_lcp_info.asp Define macros RASCCPCA_* and PPP_CCP_* as needed by some of the above structures: http://msdn.microsoft.com/library/en-us/rras/rras/ppp_ccp_info.asp Define macros *ADDRESSLEN as needed by some of the above structures: http://msdn.microsoft.com/library/en-us/rras/rras/ppp_atcp_info.asp Define more macros MAX_* as needed by RAS_PORT_0 and RAS_USER_0: http://msdn.microsoft.com/library/en-us/rras/rras/ras_port_0.asp http://msdn.microsoft.com/library/en-us/rras/rras/ras_user_0.asp Define more macros RASPRIV_* as needed by RAS_USER_*: http://msdn.microsoft.com/library/en-us/rras/rras/ras_user_1.asp Define enums RAS_HARDWARE_CONDITION and RAS_PORT_CONDITION as needed by some of the above structures: http://msdn.microsoft.com/library/en-us/rras/rras/ras_administration_enumerated_types.asp Define macros MPR_ENABLE_* as needed by MPR_SERVER_1: http://msdn.microsoft.com/library/en-us/rras/rras/mpr_server_1.asp ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-05-02 12:49 Message: Logged In: YES user_id=52414 About mprapi.h: --------------- Define PID_* as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/transport_identifiers.asp By the way, PID_IPV6 is documented but doesn't seem to be defined??? Add structures MPR_* as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/router_management_structures.asp Define macros MAX_* as needed by some of the above structures. Define MPR_INTERFACE_* as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/unreachability_reasons.asp Define MPR_*, MPRIO_*, MPRNP_*, MPRDT_*, MPRDM_*, MPRIDS_*, MPRET_*, MPR_ET_*, MPR_VS_* as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/mpr_interface_2.asp Include <ras.h> for RAS_*, RASEO_*, RASNP_*, RASDT_*, RASEDM_*, RASIDS_*, RASET_*, ET_*, VS_* constants. About routprot.h: ----------------- Define structures IP_*, IPX_* as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/router_management_structures.asp About ipxrtdef.h, stm.h and ipxrtconst.h: ----------------------------------------- Add structures IPX_* and IPXWAN_IF_INFO as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/router_information_structures.asp Define macros ADMIN_STATE_* as needed by IPXWAN_IF_INFO as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/ipxwan_if_info.asp ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-28 12:37 Message: Logged In: YES user_id=52414 About iptypes.h: Actually all GAA_FLAG_* constants were already defined in <iphlpapi.h> as documented on MSDN. Therefore discarding from <iptypes.h>. About winnt.h: Adding WT_SET_MAX_THREADPOOL_THREADS as defined here: http://msdn.microsoft.com/library/en-us/dllproc/base/registerwaitforsingleobject.asp ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-28 12:18 Message: Logged In: YES user_id=52414 About winbase.h: Added both functions, but note that ChangeTimerQueueTimer() should be protected by: _WIN32_WINNT >= 0x0500 and not by: _WIN32_WINNT >= 0x0502 ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-28 12:11 Message: Logged In: YES user_id=52414 About rtm.def: 1) MgmSetMfe is missing from pexports output! How to explain that? 2) Also I don't think MgmInitialize and MgmDeInitialize need to be added to this file, do they? ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-28 12:01 Message: Logged In: YES user_id=52414 About mgm.h: The header file has been added as documented here: http://msdn.microsoft.com/library/en-us/rras/rras/multicast_group_manager_reference.asp ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-28 10:40 Message: Logged In: YES user_id=52414 About iphlpapi.h: GetAdaptersAddresses() had already been added. About ipifcons.h: I can't find the IF_* macro constants in MSDN. Are they documented? About iptypes.h: Everything had already been added, except the GAA_FLAG_* macro constants which are documented here: http://msdn.microsoft.com/library/en-us/iphlp/iphlp/getadaptersaddresses.asp More constants are documented such as GAA_FLAG_INCLUDE_GATEWAYS. Are you aware of them? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1375467&group_id=2435 |