size_t STRUCT_SIZE(handle)
Returns the size of the structure referred to by handle according to its embedded data model.
typeof fieldname STRUCT_FGET(handle, fieldname)
Returns the indicated field (non-pointer type) in the data structure referred to by handle.
typeof fieldname STRUCT_FGETP(handle, fieldname)
Returns the indicated field (pointer type) in the data structure referred to by handle.
STRUCT_FSET(handle, fieldname, val)
Sets the indicated field (non-pointer type) in the data structure referred to by handle to value val. The type of val should match the type of fieldname.
STRUCT_FSETP(handle, fieldname, val)
Sets the indicated field (pointer type) in the data structure referred to by handle to value val.
typeof fieldname *STRUCT_FADDR(handle, fieldname)
Returns the address of the indicated field in the data structure referred to by handle.
struct structname *STRUCT_BUF(handle)
Returns a pointer to the native structure described by handle.