1 This directory contains the source code of the pidl (Perl IDL)
4 pidl is the main file of pidl.
6 Pidl works by building a parse tree from a .pidl file (a simple
7 dump of it's internal parse tree) or a .idl file
8 (a file format mostly like the IDL file format midl uses).
9 The IDL file parser is in idl.yp (a yacc file converted to
12 After a parse tree is present, pidl will call one of it's backends
13 (which one depends on the options given on the command-line). Here is
14 a list of current backends:
17 Parse::Pidl::Dump - Converts the parse tree back to an IDL file
18 Parse::Pidl::Samba::Header - Generates header file with data structures defined in IDL file
19 Parse::Pidl::NDR - Generates intermediate datastructures for use by NDR parses/generators
20 Parse::Pidl::ODL - Generates IDL structures from ODL structures for use in the NDR parser generator
23 Parse::Pidl::Samba::NDR::Client - Generates client call functions in C using the NDR parser
24 Parse::Pidl::Samba::SWIG - Generates SWIG interface files (.i)
25 Parse::Pidl::Samba::NDR::Header - Generates a header file with NDR-parser specific data
26 Parse::Pidl::Samba::NDR::Parser - Generates pull/push functions for parsing NDR
27 Parse::Pidl::Samba::NDR::Server - Generates server side implementation in C
28 Parse::Pidl::Samba::Template - Generates stubs in C for server implementation
29 Parse::Pidl::Samba::EJS - Generates bindings for Embedded JavaScript (EJS)
30 Parse::Pidl::Samba::EJSHeader - Generates headers for the EJS bindings
32 -- Samba COM / DCOM --
33 Parse::Pidl::Samba::COM::Proxy - Generates proxy object for DCOM (client-side)
34 Parse::Pidl::Samba::COM::Stub - Generates stub call handler for DCOM (server-side)
35 Parse::Pidl::Samba::COM::Header - Generates header file for COM interface(s)
38 Parse::Pidl::Ethereal::NDR - Generates a parser for the ethereal network sniffer
39 Parse::Pidl::Ethereal::Conformance - Reads conformance files containing additional data for generating Ethereal parsers
42 Parse::Pidl::Util - Misc utility functions used by *.pm and pidl.pl
43 Parse::Pidl::Typelist - Utility functions for keeping track of known types and their representation in C
45 Tips for hacking on pidl:
46 - Look at the pidl's parse tree by using the --keep option and looking
47 at the generated .pidl file.
48 - The various backends have a lot in common, if you don't understand how one
49 implements something, look at the others
50 - See pidl(1) and the documentation on midl
51 - See 'info bison' and yapp(1) for information on the file format of idl.yp