const unsigned short ADAPTS = 3;
const unsigned short Allows_either = 4;
const unsigned short Allows_none = 1;
const unsigned short Allows_shared = 0;
const unsigned short Allows_unshared = 3;
const unsigned short EITHER = 0;
const unsigned short FORBIDS = 2;
const unsigned long INVOCATION_POLICY_TYPE = 55;
const unsigned long NON_TX_TARGE_POLICY_TYPE = 57;
const unsigned long OTS_POLICY_TYPE = 56;
const unsigned short PERMIT = 1;
const unsigned short PREVENT = 0;
const unsigned short REQUIRES = 1;
const unsigned short Requires_either = 6;
const unsigned short Requires_shared = 2;
const unsigned short Requires_ushared = 5;
const unsigned short SHARED = 1;
const unsigned long TransactionPolicyType = 46;
const unsigned short UNSHARED = 2;
exception HeuristicCommit { };
exception HeuristicHazard { };
exception HeuristicMixed { };
exception HeuristicRollback { };
exception Inactive { };
exception InvalidControl { };
exception NotPrepared { };
exception NoTransaction { };
exception NotSubtransaction { };
exception SubtransactionsUnavailable { };
exception SynchronizationUnavailable { };
exception Unavailable { };
typedef unsigned short InvocationPolicyValue;
typedef unsigned short NonTxTargetPolicyValue;
struct otid_t { long formatID; long bqual_length; tid; };
typedef unsigned short OTSPolicyValue;
struct PropagationContext { unsigned long timeout; CosTransactions::TransIdentity current; parents; any implementation_specific_data; };
enum Status { StatusActive, StatusMarkedRollback, StatusPrepared, StatusCommitted, StatusRolledBack, StatusUnknown, StatusNoTransaction, StatusPreparing, StatusCommitting, StatusRollingBack };
typedef unsigned short TransactionPolicyValue;
struct TransIdentity { CosTransactions::Coordinator coord; CosTransactions::Terminator term; CosTransactions::otid_t otid; };
enum Vote { VoteCommit, VoteRollback, VoteReadOnly };