Ethereal-users: Re: [Ethereal-users] Create the .lo extn file for a new capture-file format
Deepa said:
> I have written the open and read routines for a new capture file formats
> and made the necessary inclusions in file_access.c file. However i am
> unable to configure the wiretap/ethereal to read this file format.
> kindly tell the steps to do the same.
(This is really an ethereal-dev issue, so those questions should be asked
in ethereal-dev; unfortunately, I'm reading this via webmail and I can't
see any way to set the Reply-To header in my webmail, so I'm not
redirecting this.)
The steps are:
1) add to the "libwiretap_la_SOURCES" macro in "wiretap/Makefile.am"
the name of the source file containing your open and read routines;
2) unless you are only going to be using the new code at your site
(rather than contributing it to Ethereal) and only going to be using
it on some flavor or flavors of UN*X (as the ".lo" suggests), also add
the name of the source file, with ".c" replaced with ".obj", to the
"OBJECTS" macro in "Makefile.nmake";
3) re-run make on the Ethereal source.
(We should probably have a Makefile.common file for Wiretap, as we have it
elsewhere; I'll look at doing that.)