From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/javax/transaction/xa/XAException.h | 60 ++++++++++++++++++++++++++++++ libjava/javax/transaction/xa/XAResource.h | 55 +++++++++++++++++++++++++++ libjava/javax/transaction/xa/Xid.h | 38 +++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 libjava/javax/transaction/xa/XAException.h create mode 100644 libjava/javax/transaction/xa/XAResource.h create mode 100644 libjava/javax/transaction/xa/Xid.h (limited to 'libjava/javax/transaction/xa') diff --git a/libjava/javax/transaction/xa/XAException.h b/libjava/javax/transaction/xa/XAException.h new file mode 100644 index 000000000..b6f590b55 --- /dev/null +++ b/libjava/javax/transaction/xa/XAException.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_transaction_xa_XAException__ +#define __javax_transaction_xa_XAException__ + +#pragma interface + +#include +extern "Java" +{ + namespace javax + { + namespace transaction + { + namespace xa + { + class XAException; + } + } + } +} + +class javax::transaction::xa::XAException : public ::java::lang::Exception +{ + +public: + XAException(); + XAException(::java::lang::String *); + XAException(jint); + jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) errorCode; + static const jint XA_RBBASE = 100; + static const jint XA_RBROLLBACK = 100; + static const jint XA_RBCOMMFAIL = 101; + static const jint XA_RBDEADLOCK = 102; + static const jint XA_RBINTEGRITY = 103; + static const jint XA_RBOTHER = 104; + static const jint XA_RBPROTO = 105; + static const jint XA_RBTIMEOUT = 106; + static const jint XA_RBTRANSIENT = 107; + static const jint XA_RBEND = 107; + static const jint XA_NOMIGRATE = 9; + static const jint XA_HEURHAZ = 8; + static const jint XA_HEURCOM = 7; + static const jint XA_HEURRB = 6; + static const jint XA_HEURMIX = 5; + static const jint XA_RETRY = 4; + static const jint XA_RDONLY = 3; + static const jint XAER_ASYNC = -2; + static const jint XAER_RMERR = -3; + static const jint XAER_NOTA = -4; + static const jint XAER_INVAL = -5; + static const jint XAER_PROTO = -6; + static const jint XAER_RMFAIL = -7; + static const jint XAER_DUPID = -8; + static const jint XAER_OUTSIDE = -9; + static ::java::lang::Class class$; +}; + +#endif // __javax_transaction_xa_XAException__ diff --git a/libjava/javax/transaction/xa/XAResource.h b/libjava/javax/transaction/xa/XAResource.h new file mode 100644 index 000000000..2a5442dd9 --- /dev/null +++ b/libjava/javax/transaction/xa/XAResource.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_transaction_xa_XAResource__ +#define __javax_transaction_xa_XAResource__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace javax + { + namespace transaction + { + namespace xa + { + class XAResource; + class Xid; + } + } + } +} + +class javax::transaction::xa::XAResource : public ::java::lang::Object +{ + +public: + virtual void commit(::javax::transaction::xa::Xid *, jboolean) = 0; + virtual void end(::javax::transaction::xa::Xid *, jint) = 0; + virtual void forget(::javax::transaction::xa::Xid *) = 0; + virtual jint getTransactionTimeout() = 0; + virtual jboolean isSameRM(::javax::transaction::xa::XAResource *) = 0; + virtual jint prepare(::javax::transaction::xa::Xid *) = 0; + virtual JArray< ::javax::transaction::xa::Xid * > * recover(jint) = 0; + virtual void rollback(::javax::transaction::xa::Xid *) = 0; + virtual jboolean setTransactionTimeout(jint) = 0; + virtual void start(::javax::transaction::xa::Xid *, jint) = 0; + static const jint TMENDRSCAN = 8388608; + static const jint TMFAIL = 536870912; + static const jint TMJOIN = 2097152; + static const jint TMNOFLAGS = 0; + static const jint TMONEPHASE = 1073741824; + static const jint TMRESUME = 134217728; + static const jint TMSTARTRSCAN = 16777216; + static const jint TMSUCCESS = 67108864; + static const jint TMSUSPEND = 33554432; + static const jint XA_RDONLY = 3; + static const jint XA_OK = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_transaction_xa_XAResource__ diff --git a/libjava/javax/transaction/xa/Xid.h b/libjava/javax/transaction/xa/Xid.h new file mode 100644 index 000000000..7a4b30001 --- /dev/null +++ b/libjava/javax/transaction/xa/Xid.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_transaction_xa_Xid__ +#define __javax_transaction_xa_Xid__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace javax + { + namespace transaction + { + namespace xa + { + class Xid; + } + } + } +} + +class javax::transaction::xa::Xid : public ::java::lang::Object +{ + +public: + virtual jint getFormatId() = 0; + virtual JArray< jbyte > * getGlobalTransactionId() = 0; + virtual JArray< jbyte > * getBranchQualifier() = 0; + static const jint MAXGTRIDSIZE = 64; + static const jint MAXBQUALSIZE = 64; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_transaction_xa_Xid__ -- cgit v1.2.3