C stubs (i.e. code to support C clients for a set of SIDL-specified
classes or interfaces), are created by invoking Babel as follows7.1
% babel -exclude-external -client=C file.sidlor more cryptically
% babel -E -cC file.sidl
Using the --
exclude-external flag avoids generation
of files for symbols referenced (but not specified) in file.sidl;
thereby,
reducing the total number of generated files. Of the files generated, those
ending in _IOR.h and _IOR.c contain the Intermediate Object
Representation (IOR). Files ending with _Stub.c are the C stubs
-- the interface between C clients and the IOR. The remaining header
files contain the C client API.
To use the bindings, you must compile and link the stub files against the SIDL runtime library and an implementation of the API.