Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3411] New: Prototype for get_tcp_conversation()

Date: Mon, 13 Apr 2009 21:25:41 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411

           Summary: Prototype for get_tcp_conversation()
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxx


Build Information:
SVN revision 27890
--
epan/dissectors/packet-tcp.c has the function get_tcp_conversation(packetinfo
*pinfo) declared as a non-static function.

One of my private plugins would like to use that function, therefor is it
possible to prototype it in epan/dissectors/packet-tcp.h?

Index: epan/dissectors/packet-tcp.h
===================================================================
--- epan/dissectors/packet-tcp.h        (revision 28041)
+++ epan/dissectors/packet-tcp.h        (working copy)
@@ -232,6 +232,7 @@
                                proto_tree *tcp_tree,
                                struct tcp_analysis *tcpd);

+extern conversation_t *get_tcp_conversation(packet_info *pinfo);
 extern struct tcp_analysis *get_tcp_conversation_data(conversation_t *conv,
                                 packet_info *pinfo);


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.