Missing bits and fixes to get the buildbot green again.
authorgal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 26 May 2007 10:17:08 +0000 (10:17 +0000)
committergal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 26 May 2007 10:17:08 +0000 (10:17 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21952 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/m2m/moduleinfo.nmake [new file with mode: 0644]
plugins/m2m/packet-m2m.c
plugins/m2m/plugin.rc.in [new file with mode: 0644]

diff --git a/plugins/m2m/moduleinfo.nmake b/plugins/m2m/moduleinfo.nmake
new file mode 100644 (file)
index 0000000..5003cd4
--- /dev/null
@@ -0,0 +1,28 @@
+#
+# $Id$
+#
+
+# The name
+PACKAGE=m2m
+
+# The version
+MODULE_VERSION_MAJOR=0
+MODULE_VERSION_MINOR=0
+MODULE_VERSION_MICRO=1
+MODULE_VERSION_EXTRA=0
+
+#
+# The RC_VERSION should be comma-separated, not dot-separated, 
+# as per Graham Bloice's message in
+#
+#      http://www.ethereal.com/lists/ethereal-dev/200303/msg00283.html
+#
+# "The RC_VERSION variable in config.nmake should be comma separated. 
+# This allows the resources to be built correctly and the version
+# number to be correctly displayed in the explorer properties dialog
+# for the executables, and XP's tooltip, rather than 0.0.0.0."
+#
+
+MODULE_VERSION=$(MODULE_VERSION_MAJOR).$(MODULE_VERSION_MINOR).$(MODULE_VERSION_MICRO).$(MODULE_VERSION_EXTRA)
+RC_MODULE_VERSION=$(MODULE_VERSION_MAJOR),$(MODULE_VERSION_MINOR),$(MODULE_VERSION_MICRO),$(MODULE_VERSION_EXTRA)
+
index a12a6b2abf51c5e987c926b927348bc38a11fe77..a61f22702483872f54ca7ac2d91bcdeea607a611 100644 (file)
@@ -367,6 +367,18 @@ m2m_defragment_init(void)
        fragment_table_init(&pdu_frag_table);
 }
 
+/* Register Wimax Mac to Mac Protocol handler */
+void proto_reg_handoff_m2m(void)
+{
+       static int Initialized = FALSE;
+
+       if (!Initialized)
+       {
+               m2m_handle = create_dissector_handle(dissect_m2m, proto_m2m);
+               dissector_add("ethertype", WMX_M2M, m2m_handle);
+       }
+}
+
 /* Register Wimax Mac to Mac Protocol */
 void proto_register_m2m(void)
 {
@@ -392,18 +404,6 @@ void proto_register_m2m(void)
        /* Add new protocols here */
 }
 
-/* Register Wimax Mac to Mac Protocol handler */
-void proto_reg_handoff_m2m(void)
-{
-       static int Initialized = FALSE;
-
-       if (!Initialized)
-       {
-               m2m_handle = create_dissector_handle(dissect_m2m, proto_m2m);
-               dissector_add("ethertype", WMX_M2M, m2m_handle);
-       }
-}
-
 /* WiMax MAC to MAC protocol dissector */
 static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
diff --git a/plugins/m2m/plugin.rc.in b/plugins/m2m/plugin.rc.in
new file mode 100644 (file)
index 0000000..72b4de0
--- /dev/null
@@ -0,0 +1,34 @@
+#include "winver.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION @RC_MODULE_VERSION@
+ PRODUCTVERSION @RC_VERSION@,0
+ FILEFLAGSMASK 0x0L
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_PRERELEASE+VS_FF_DEBUG
+#else
+ FILEFLAGS VS_FF_PRERELEASE
+#endif
+ FILEOS VOS_NT_WINDOWS32
+ FILETYPE VFT_DLL
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0"
+            VALUE "FileDescription", "@PACKAGE@ dissector\0"
+            VALUE "FileVersion", "@MODULE_VERSION@\0"
+            VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0"
+            VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs <gerald@wireshark.org>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
+            VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0"
+            VALUE "ProductName", "Wireshark\0"
+            VALUE "ProductVersion", "@VERSION@\0"
+            VALUE "Comments", "Build with @MSVC_VARIANT@\0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END