19 Star 39 Fork 46

openGauss / openGauss-connector-odbc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pgenlist.h 929 Bytes
一键复制 编辑 原始数据 按行查看 历史
/* File: enlist.h
*
* Description: See "msdtc_enlist.c"
*
* Comments: See "readme.txt" for copyright and license information.
*
*/
#ifndef __PGENLIST_H__
#define __PGENLIST_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WIN32
#ifdef _HANDLE_ENLIST_IN_DTC_
#undef DLL_DECLARE
#ifdef _PGENLIST_FUNCS_IMPLEMENT_
#define DLL_DECLARE _declspec(dllexport)
#else
#ifdef _PGENLIST_FUNCS_IMPORT_
#define DLL_DECLARE _declspec(dllimport)
#else
#define DLL_DECLARE
#endif /* _PGENLIST_FUNCS_IMPORT_ */
#endif /* _PGENLIST_FUNCS_IMPLEMENT_ */
RETCODE EnlistInDtc(void *conn, void *pTra, int method);
RETCODE DtcOnDisconnect(void *);
RETCODE IsolateDtcConn(void *, BOOL continueConnection);
// for testing
DLL_DECLARE void *GetTransactionObject(HRESULT *hres);
DLL_DECLARE void ReleaseTransactionObject(void *);
#endif /* _HANDLE_ENLIST_IN_DTC_ */
#endif /* WIN32 */
#ifdef __cplusplus
}
#endif
#endif /* __PGENLIST_H__ */
C
1
https://gitee.com/opengauss/openGauss-connector-odbc.git
git@gitee.com:opengauss/openGauss-connector-odbc.git
opengauss
openGauss-connector-odbc
openGauss-connector-odbc
master

搜索帮助