Unix types in IDL code?

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Sep 10 11:20:13 GMT 2007


Right now I'm looking at converting the Samba3
parse_share_modes stuff to becoming IDL-generated. In the
current struct share_mode we have things like uid_t, gid_t,
struct timeval etc.

What would be the recommended way to deal with these? I
could certainly add corresponding support into ndr_misc.c,
or I could use uint64's and a IDL typedef for struct
timeval. The latter approach however makes manual
conversions necessary as the resulting structs don't have
the right types inside.

What should I do here?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070910/787bd2a9/attachment.bin

More information about the samba-technical mailing list