wireshark/epan/dissectors/pidl
Jörg Mayer 5e7ff4dadc Forgot to copy over idl_types.h
svn path=/trunk/; revision=32180
2010-03-13 10:59:23 +00:00
..
mapi
nspi
rfr
IDL_LICENSE.txt
README
atsvc.cnf
atsvc.idl
dfs.cnf
dfs.idl
dnsserver.cnf
dnsserver.idl
dssetup.idl
efs.cnf
efs.idl
eventlog.cnf
eventlog.idl
frstrans.cnf
frstrans.idl
idl_types.h
initshutdown.idl
lsa.cnf
lsa.idl
samr.cnf
samr.idl
srvsvc.cnf
srvsvc.idl
winreg.cnf
winreg.idl
wkssvc.cnf
wkssvc.idl
wzcsvc.cnf
wzcsvc.idl

README

The REAMDE specific to the Wireshark "copy" of the pidl sources
==============================================================

The tree tools/pidl is a direct extract from
svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/pidl
to allow building Wireshark pidl dissectors without having to
*explicitely* access a remote svn repository.

Don't do changes here, do them at the samba tree! Changes to this tree will
be overwritten the next time the sources from the samba tree are updated,
which is basically every time you do an svn up in the Wireshark toplevel dir.

In order to build, install yapp (on Suse, the rpm is named perl-Parse-Yapp),
then do
perl Makefile.PL && make && && make install

This will build and install the binaries and the manpage (pidl.1).

run  pidl with:

pidl --ws-parser -- <idl-file>  (don't forget the "--")

If you run outside the dissectors/pidl directory, this *will* result in a
warning like:
atsvc.idl:5:23: idl_types.h: No such file or directory
and *may* result in additional warnings like:
Warning: No conformance file `initshutdown.cnf'
Unable to handle string with flags STR_LEN4|STR_NOTERM at /usr/lib/perl5/site_perl/5.8.6/Parse/Pidl/Wireshark/NDR.pm line 283.