marshalling of c structs



Hello, 

when wrapping a CORBA interface around a library written in c what would
be the preferred way to marshal structures between client and server?

I was thinking of two possible ways in a first iteration:
(1) defining the structures in IDL 
or
(2) marshalling opaque buffers

Both approaches are of course not sufficient when dealing with nested
structures.
Could endian issues be a problem as well when going for (2)?

Thanks for any advice, 
Rob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]