Re: [Wireshark-dev] HELP: about tshark shared library.

2008-03-25 Thread Guy Harris
Pankaj Yadav wrote: > actully i want tshark library to use tshark tool idependently only > e.g. tshark command tool. What do you mean by "use tshark tool idependently only e.g. tshark command tool"? If you just want to use the TShark command-line tool, just use it - you don't have to recompile

Re: [Wireshark-dev] HELP: about tshark shared library.

2008-03-25 Thread Guy Harris
On Mar 25, 2008, at 3:44 AM, Pankaj Yadav wrote: > I want to create a shared library for tshark (using wireshark-0.99.8). Why? What would you use that library for? Is there something tshark does that libwireshark (which is what both Wireshark and TShark use to dissect packets) and libwiret

[Wireshark-dev] HELP: about tshark shared library.

2008-03-25 Thread Pankaj Yadav
Hi All, I want to create a shared library for tshark (using wireshark-0.99.8). For that, i copied tshark.c as libtshark.c[where i change main() to tshark()] then i add tshark.c [whre i called tshark()] and added tshrk.h Then I did: (1) object file for libtshark.c as: /bin/sh /usr/bin/libtool --