Skip to content

Commit 39869f7

Browse files
committed
update:depend library
update:match xengine v9.20
1 parent 2726e5a commit 39869f7

26 files changed

+75
-75
lines changed

XEngine_Source/MQCore_ConfigModule/Config_Define.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ typedef struct
3434
}st_XMax;
3535
struct
3636
{
37-
XCHAR tszLOGFile[MAX_PATH];
37+
XCHAR tszLOGFile[XPATH_MAX];
3838
int nMaxSize;
3939
int nMaxCount;
4040
int nLogLeave;
@@ -50,10 +50,10 @@ typedef struct
5050
}st_XSql;
5151
struct
5252
{
53-
XCHAR tszPassRegister[MAX_PATH];
54-
XCHAR tszPassUNReg[MAX_PATH];
55-
XCHAR tszPassLogin[MAX_PATH];
56-
XCHAR tszPassLogout[MAX_PATH];
53+
XCHAR tszPassRegister[XPATH_MAX];
54+
XCHAR tszPassUNReg[XPATH_MAX];
55+
XCHAR tszPassLogin[XPATH_MAX];
56+
XCHAR tszPassLogout[XPATH_MAX];
5757
int nTimeout;
5858
}st_XPass;
5959
struct
@@ -71,7 +71,7 @@ typedef struct
7171
struct
7272
{
7373
bool bEnable;
74-
XCHAR tszAPIUrl[MAX_PATH];
74+
XCHAR tszAPIUrl[XPATH_MAX];
7575
XCHAR tszServiceName[128];
7676
}st_XReport;
7777
struct

XEngine_Source/MQCore_DBModule/DBModule_Define.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ typedef struct
3939
//用户消息
4040
typedef struct
4141
{
42-
XCHAR tszUserName[MAX_PATH]; //用户名
43-
XCHAR tszKeyName[MAX_PATH]; //绑定的KEY
42+
XCHAR tszUserName[XPATH_MAX]; //用户名
43+
XCHAR tszKeyName[XPATH_MAX]; //绑定的KEY
4444
XCHAR tszUPTime[64]; //最后更新时间
4545
XCHAR tszCreateTime[64]; //创建的时间
4646
__int64x nKeySerial; //包序列号
@@ -55,7 +55,7 @@ typedef struct
5555
//////////////////////////////////////////////////////////////////////////
5656
// 导出的回调
5757
//////////////////////////////////////////////////////////////////////////
58-
typedef void(CALLBACK* CALLBACK_MESSAGEQUEUE_MODULE_DATABASE_TIMEPUBLISH)(XENGINE_DBTIMERELEASE* pSt_DBInfo, XPVOID lParam);
58+
typedef void(XCALLBACK* CALLBACK_MESSAGEQUEUE_MODULE_DATABASE_TIMEPUBLISH)(XENGINE_DBTIMERELEASE* pSt_DBInfo, XPVOID lParam);
5959
//////////////////////////////////////////////////////////////////////////
6060
// 导出的函数
6161
//////////////////////////////////////////////////////////////////////////

XEngine_Source/MQCore_DBModule/DBModule_MQUser/DBModule_MQUser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ bool CDBModule_MQUser::DBModule_MQUser_OwnerTopicUPDate(LPCXSTR lpszSourceTable,
11731173
//////////////////////////////////////////////////////////////////////////
11741174
// 线程函数
11751175
//////////////////////////////////////////////////////////////////////////
1176-
XHTHREAD CALLBACK CDBModule_MQUser::DBModule_MQUser_TimeThread(XPVOID lParam)
1176+
XHTHREAD XCALLBACK CDBModule_MQUser::DBModule_MQUser_TimeThread(XPVOID lParam)
11771177
{
11781178
CDBModule_MQUser* pClass_This = (CDBModule_MQUser*)lParam;
11791179

XEngine_Source/MQCore_DBModule/DBModule_MQUser/DBModule_MQUser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CDBModule_MQUser
4444
bool DBModule_MQUser_OwnerQuery(XENGINE_DBTOPICOWNER* pSt_DBOwner);
4545
bool DBModule_MQUser_OwnerTopicUPDate(LPCXSTR lpszSourceTable, LPCXSTR lpszDestTable);
4646
protected:
47-
static XHTHREAD CALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
47+
static XHTHREAD XCALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
4848
private:
4949
shared_ptr<std::thread> pSTDThread;
5050
private:

XEngine_Source/MQCore_MemoryCache/MemoryCache_DBData/MemoryCache_DBData.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ bool CMemoryCache_DBData::MemoryCache_DBData_QueueInsert(LPCXSTR lpszSQLStr, XEN
286286
//////////////////////////////////////////////////////////////////////////
287287
// 线程函数
288288
//////////////////////////////////////////////////////////////////////////
289-
XHTHREAD CALLBACK CMemoryCache_DBData::DBModule_MQUser_TimeThread(XPVOID lParam)
289+
XHTHREAD XCALLBACK CMemoryCache_DBData::DBModule_MQUser_TimeThread(XPVOID lParam)
290290
{
291291
CMemoryCache_DBData* pClass_This = (CMemoryCache_DBData*)lParam;
292292

@@ -325,7 +325,7 @@ XHTHREAD CALLBACK CMemoryCache_DBData::DBModule_MQUser_TimeThread(XPVOID lParam)
325325
}
326326
return 0;
327327
}
328-
XHTHREAD CALLBACK CMemoryCache_DBData::DBModule_MQUser_InsertThread(XPVOID lParam)
328+
XHTHREAD XCALLBACK CMemoryCache_DBData::DBModule_MQUser_InsertThread(XPVOID lParam)
329329
{
330330
CMemoryCache_DBData* pClass_This = (CMemoryCache_DBData*)lParam;
331331

XEngine_Source/MQCore_MemoryCache/MemoryCache_DBData/MemoryCache_DBData.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class CMemoryCache_DBData
5252
public:
5353
bool MemoryCache_DBData_QueueInsert(LPCXSTR lpszSQLStr, XENGINE_DBMESSAGEQUEUE* pSt_DBMessageInfo);
5454
protected:
55-
static XHTHREAD CALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
56-
static XHTHREAD CALLBACK DBModule_MQUser_InsertThread(XPVOID lParam);
55+
static XHTHREAD XCALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
56+
static XHTHREAD XCALLBACK DBModule_MQUser_InsertThread(XPVOID lParam);
5757
private:
5858
bool bIsRun = false;
5959
int m_nTimeLast = 0;

XEngine_Source/MQCore_MemoryCache/MemoryCache_DBUser/MemoryCache_DBUser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ bool CMemoryCache_DBUser::MemoryCache_DBUser_DataDelete(XENGINE_PROTOCOL_USERINF
214214
//////////////////////////////////////////////////////////////////////////
215215
// 线程函数
216216
//////////////////////////////////////////////////////////////////////////
217-
XHTHREAD CALLBACK CMemoryCache_DBUser::DBModule_MQUser_TimeThread(XPVOID lParam)
217+
XHTHREAD XCALLBACK CMemoryCache_DBUser::DBModule_MQUser_TimeThread(XPVOID lParam)
218218
{
219219
CMemoryCache_DBUser* pClass_This = (CMemoryCache_DBUser*)lParam;
220220

XEngine_Source/MQCore_MemoryCache/MemoryCache_DBUser/MemoryCache_DBUser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CMemoryCache_DBUser
3131
bool MemoryCache_DBUser_DataQuery(XENGINE_PROTOCOL_USERINFO* pSt_DBUserInfo);
3232
bool MemoryCache_DBUser_DataDelete(XENGINE_PROTOCOL_USERINFO* pSt_DBUserInfo);
3333
protected:
34-
static XHTHREAD CALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
34+
static XHTHREAD XCALLBACK DBModule_MQUser_TimeThread(XPVOID lParam);
3535
private:
3636
bool bIsRun = false;
3737
int m_nTimeLast = 0;

XEngine_Source/MQCore_MemoryCache/MemoryCache_Define.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ typedef enum
1919
//////////////////////////////////////////////////////////////////////////
2020
// 导出的回调
2121
//////////////////////////////////////////////////////////////////////////
22-
typedef void(CALLBACK* CALLBACK_MESSAGEQUEUE_MODULE_DATABASE_CACHE)(ENUM_MEMORYCACHE_CALLBACK_TYPE enMemoryType, bool bSuccess, size_t nListCount, XPVOID pSt_DBInfo, XPVOID lParam);
22+
typedef void(XCALLBACK* CALLBACK_MESSAGEQUEUE_MODULE_DATABASE_CACHE)(ENUM_MEMORYCACHE_CALLBACK_TYPE enMemoryType, bool bSuccess, size_t nListCount, XPVOID pSt_DBInfo, XPVOID lParam);
2323
//////////////////////////////////////////////////////////////////////////
2424
// 导出的函数
2525
//////////////////////////////////////////////////////////////////////////

XEngine_Source/XEngine_Depend

Submodule XEngine_Depend updated 52 files

0 commit comments

Comments
 (0)