52 const GlobalId* globalIds,
UInt32 count,
const char* privateData,
int dataSize);
79 const char* exceptionDescription =
"");
88 const char* privateData,
UInt32 dataSize);
91 const char* privateData,
UInt32 size);
94 const char* privateData,
UInt32 size);
103 const GlobalId* globalIds,
UInt32 idCount,
unsigned int result,
const char* exceptionDescription);
LEG_ReturnCode
Definition: c_api.h:62
unsigned long long OwnershipManagerHandle
Definition: c_api.h:26
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_divest(OwnershipManagerHandle manager, TransactionId transactionID, const GlobalId *globalIds, UInt32 count, const char *privateData, int dataSize)
void(* C_InitiateAcquisitionRequestCallback)(void *user, TransactionId transactionID, const GlobalId *globalIds, UInt32 idCount, const char *privateData, UInt32 dataSize)
Definition: c_ownership.h:98
unsigned long long GlobalId
Definition: c_api.h:39
void(* C_AcquiredCallback)(void *user, TransactionId transactionID, const GlobalId *globalIds, UInt32 idCount, const char *privateData, UInt32 size)
Definition: c_ownership.h:93
unsigned int UInt32
Definition: c_api.h:54
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_removeInitiateAcquisitionRequestCallback(OwnershipManagerHandle manager, C_InitiateAcquisitionRequestCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_removeInitiateAcquisitionResultCallback(OwnershipManagerHandle manager, C_InitiateAcquisitionResultCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_requestInitiateAcquisition(OwnershipManagerHandle manager, ClientId acquiringClientId, const GlobalId *globalIds, UInt32 count, const char *privateData, UInt32 dataSize, TransactionId *out)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_addInitiateAcquisitionResultCallback(OwnershipManagerHandle manager, C_InitiateAcquisitionResultCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_initateAcquisitionRequestResponse(OwnershipManagerHandle manager, TransactionId transactionID, const GlobalId *globalIds, UInt32 count, unsigned int result, const char *exceptionDescription="")
void(* C_DivestitureRequestCallback)(void *user, TransactionId transactionID, const GlobalId *globalIds, UInt32 idCount, const char *privateData, UInt32 dataSize)
Ownership callback function Prototypes.
Definition: c_ownership.h:87
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_addRequestRejectedCallback(OwnershipManagerHandle manager, C_RequestRejectedCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_removeAcquiredCallback(OwnershipManagerHandle manager, C_AcquiredCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_removeDivestitureRequestCallback(OwnershipManagerHandle manager, C_DivestitureRequestCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_addInitiateAcquisitionRequestCallback(OwnershipManagerHandle manager, C_InitiateAcquisitionRequestCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_addDivestitureRequestCallback(OwnershipManagerHandle manager, C_DivestitureRequestCallback func, void *usr)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_requestAcquisition(OwnershipManagerHandle manager, const GlobalId *globalIds, UInt32 count, const char *privateData, UInt32 dataSize, TransactionId transactionID, TransactionId *out)
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_rejectDivestitureRequest(OwnershipManagerHandle manager, TransactionId transactionID, const GlobalId *globalIds, UInt32 count, const char *privateData, UInt32 dataSize)
void(* C_InitiateAcquisitionResultCallback)(void *user, TransactionId transactionID, const GlobalId *globalIds, UInt32 idCount, unsigned int result, const char *exceptionDescription)
Definition: c_ownership.h:102
unsigned long long TransactionId
Definition: c_api.h:47
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_addAcquiredCallback(OwnershipManagerHandle manager, C_AcquiredCallback func, void *usr)
unsigned int ClientId
Definition: c_api.h:40
LEGIONNETRUNTIME_DLL LEG_ReturnCode legion_ownership_removeRequestRejectedCallback(OwnershipManagerHandle manager, C_RequestRejectedCallback func, void *usr)
void(* C_RequestRejectedCallback)(void *user, TransactionId transactionID, const GlobalId *globalIds, UInt32 idCount, const char *privateData, UInt32 size)
Definition: c_ownership.h:90