include "foobar.h"; in pidl

Jelmer Vernooij jelmer at
Sun Feb 7 15:05:11 MST 2010

On Mon, 2010-02-08 at 00:24 +0300, Matthieu Patou wrote:
> Hi Jelmer,
> > Hi Matthieu,
> >
> > On Sun, 2010-02-07 at 02:32 +0300, Matthieu Patou wrote:
> >> I'm trying to make a dissector based on  spoolss.idl I need to include a
> >> file
> >> so I'm trying to use include "foobar.h"; at the top of the file but I
> >> didn't manage to get it to work properly =>  no #include is generated.
> >>
> >> Any help/comment is welcomed.
> > include is for including other IDL files, not for generating #include
> > lines. You're probably looking for helper().
> It seems that wireshark pidl didn't use the helper command maybe a 
> wkhelper should be defined ?
For wireshark, please use the conformance file for this sort of thing.

I think it should already be possible to add an extra include(either by
an explicit command or a command to add a preamble to the file), but if
it isn't we should add a conformance file command.



More information about the samba-technical mailing list