_ex_ fields in SMB_STRUCT_STAT

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Dec 1 04:07:35 MST 2009


On Tue, Dec 01, 2009 at 11:58:40AM +0100, Olivier Sessink wrote:
> I use SMB_STRUCT_STAT in the scannedonly vfs module, and I noticed all
> fields now have _ex_ in their name. What is the reason for this change,
> can I still use them like I previously did?

Yes, you can use the _ex fields as you did with the old
ones. The reason for the _ex is that on many platforms
things like "st_uid" or "st_dev" are macros pointing at
deeper structures, "struct stat" is not a direct struct with
direct st_uid & friends.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091201/ec95eaf8/attachment.pgp>


More information about the samba-technical mailing list