Macros | |
#define | DOFPERMISSIONTUNNELDOMAIN_ALL |
Tunnel domain identifier that represents all domains. | |
Typedefs | |
typedef struct DOFPermission_t * | DOFPermission |
Immutable Permission. | |
typedef struct DOFPermissionBuilder_t * | DOFPermissionBindingBuilder |
Binding Permission Builder. | |
Enumerations | |
enum | DOFPermissionBindingAction { DOFPERMISSIONBINDINGACTION_EXECUTE, DOFPERMISSIONBINDINGACTION_WRITE, DOFPERMISSIONBINDINGACTION_READ, DOFPERMISSIONBINDINGACTION_PROVIDE, DOFPERMISSIONBINDINGACTION_SESSION, DOFPERMISSIONBINDINGACTION_ALL } |
The Action flags for a Binding Permission. More... | |
enum | DOFPermissionType |
The type of the permission. More... | |
Functions | |
DOFPermission | DOFPermissionBinding_Create (DOFPermissionBindingAction actions, const DOFObjectID objectID, const DOFInterfaceID interfaceID) |
Create a simple Binding type Permission from a single Object and Interface. | |
DOFPermission | DOFPermissionRequestor_Create (void) |
Create an Requestor type Permission. | |
DOFPermission | DOFPermissionProvider_Create (void) |
Create a Provider type Permission. | |
DOFPermission | DOFPermissionDefine_Create (const DOFInterfaceID interfaceID) |
Create a Define type Permission. | |
DOFPermission | DOFPermissionIAm_Create (DOFObjectIDSource sourceID) |
Create a I Am type Permission. | |
DOFPermission | DOFPermissionActAs_Create (DOFObjectIDSource sourceID) |
Create a Act As type Permission. | |
DOFPermission | DOFPermissionActAsAny_Create (void) |
Create a Act As Any type Permission. | |
DOFPermission | DOFPermissionTunnelDomain_Create (uint32 rdid) |
Create a Tunnel Domain type Permission. | |
void | DOFPermission_Destroy (DOFPermission self) |
Destroys a permission created from one of the create functions. | |
uint32 | DOFPermission_GetMarshalSize (const DOFPermission self) |
Get the number of bytes required in a buffer to marshal a DOFPermission. | |
uint32 | DOFPermission_Marshal (const DOFPermission self, uint32 length, uint8 *buffer) |
Marshal a DOFPermission into an existing buffer. | |
DOFPermission | DOFPermission_Unmarshal (uint32 size, const uint8 *buffer) |
Create a new DOFPermission from a given byte representation of DOFPermission. | |
DOFPermissionType | DOFPermission_GetPermissionType (DOFPermission self) |
Returns the type of the given permission. | |