pidl, idl compiler, question for support.

Michael B Allen mba2000 at ioplex.com
Sun Mar 13 18:40:00 GMT 2005


On Sun, 13 Mar 2005 08:22:02 -0800 (PST)
Tarmo Pikaro <tapika at yahoo.com> wrote:

> Currenly my need for idl compiler are really low - I
> need a support for client/server code generation,
> which will not be NDR, but another data
> representation, which I will develop by myself.

That's not going to be easy if you need to support the full range if
IDL constructs. PIDL is a little Samba specific though. You might also
check out the midlc idl compiler. It very cleanly separates the parse
tree from the code that emits mashalling routines so it's definately
suited to your problem.

  http://jcifs.sam ba.org/src/midlc-x.x.x.tar.gz

If you need to emit code for the full range of constructs (e.g. arrays
of unions with embeeded arrays, etc, etc) you'll probably want to start
by copying the java or samba emitter.

Mike

-- 
IRC - where men are men, women are men, and the boys are FBI agents.


More information about the samba-technical mailing list