Skip to content

Commit 129a2b2

Browse files
committed
modify:get buffer function name the module of download
1 parent 3eb72ce commit 129a2b2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

XEngine_Source/StorageModule_Session/Session_Define.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ extern "C" BOOL Session_DLStroage_Destory();
158158
*********************************************************************/
159159
extern "C" BOOL Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTSTR lpszFileDir, __int64x * pInt_Count, __int64x * pInt_LeftCount, int nPosStart = 0, int nPostEnd = 0);
160160
/********************************************************************
161-
函数名称:Session_DLStroage_GetList
162-
函数功能:获得下载器中的列表索引信息
161+
函数名称:Session_DLStroage_GetBuffer
162+
函数功能:获得下载器中指定缓冲区
163163
参数.一:nPool
164164
In/Out:In
165165
类型:整数型
@@ -184,7 +184,7 @@ extern "C" BOOL Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTSTR lpszFil
184184
意思:是否成功
185185
备注:
186186
*********************************************************************/
187-
extern "C" BOOL Session_DLStroage_GetList(int nPool, LPCTSTR lpszClientAddr, TCHAR * ptszMsgBuffer, int* pInt_MsgLen);
187+
extern "C" BOOL Session_DLStroage_GetBuffer(int nPool, LPCTSTR lpszClientAddr, TCHAR * ptszMsgBuffer, int* pInt_MsgLen);
188188
/********************************************************************
189189
函数名称:Session_DLStroage_GetInfo
190190
函数功能:获取下载信息

XEngine_Source/StorageModule_Session/Session_Stroage/Session_DLStroage.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ BOOL CSession_DLStroage::Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTST
237237
return TRUE;
238238
}
239239
/********************************************************************
240-
函数名称:Session_DLStroage_GetList
241-
函数功能:获得下载器中的列表索引信息
240+
函数名称:Session_DLStroage_GetBuffer
241+
函数功能:获得下载器中指定缓冲区
242242
参数.一:nPool
243243
In/Out:In
244244
类型:整数型
@@ -263,7 +263,7 @@ BOOL CSession_DLStroage::Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTST
263263
意思:是否成功
264264
备注:
265265
*********************************************************************/
266-
BOOL CSession_DLStroage::Session_DLStroage_GetList(int nPool, LPCTSTR lpszClientAddr, TCHAR* ptszMsgBuffer, int* pInt_MsgLen)
266+
BOOL CSession_DLStroage::Session_DLStroage_GetBuffer(int nPool, LPCTSTR lpszClientAddr, TCHAR* ptszMsgBuffer, int* pInt_MsgLen)
267267
{
268268
Session_IsErrorOccur = FALSE;
269269

XEngine_Source/StorageModule_Session/Session_Stroage/Session_DLStroage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CSession_DLStroage
2727
BOOL Session_DLStroage_Init(int nPoolCount = 1, int nTryTime = 3, int nAutoSpeed = 3);
2828
BOOL Session_DLStroage_Destory();
2929
BOOL Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTSTR lpszFileDir, __int64x* pInt_Count, __int64x* pInt_LeftCount, int nPosStart = 0, int nPostEnd = 0);
30-
BOOL Session_DLStroage_GetList(int nPool, LPCTSTR lpszClientAddr, TCHAR* ptszMsgBuffer, int* pInt_MsgLen);
30+
BOOL Session_DLStroage_GetBuffer(int nPool, LPCTSTR lpszClientAddr, TCHAR* ptszMsgBuffer, int* pInt_MsgLen);
3131
BOOL Session_DLStroage_GetInfo(int nPool, LPCTSTR lpszClientAddr, SESSION_STORAGEINFO* pSt_StorageInfo);
3232
BOOL Session_DLStroage_GetCount(int nPool, list<string>* pStl_ListClient);
3333
BOOL Session_DLStorage_SetSeek(LPCTSTR lpszClientAddr, int nSeek, BOOL bError = TRUE, SESSION_STORAGEDYNAMICRATE* pSt_StorageRate = NULL);

XEngine_Source/StorageModule_Session/StorageModule_Session.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXPORTS
1010
Session_DLStroage_Init
1111
Session_DLStroage_Destory
1212
Session_DLStroage_Insert
13-
Session_DLStroage_GetList
13+
Session_DLStroage_GetBuffer
1414
Session_DLStroage_GetInfo
1515
Session_DLStroage_GetCount
1616
Session_DLStorage_SetSeek

XEngine_Source/StorageModule_Session/pch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ extern "C" BOOL Session_DLStroage_Insert(LPCTSTR lpszClientAddr, LPCTSTR lpszFil
6060
{
6161
return m_DLStorage.Session_DLStroage_Insert(lpszClientAddr, lpszFileDir, pInt_Count, pInt_LeftCount, nPosStart, nPostEnd);
6262
}
63-
extern "C" BOOL Session_DLStroage_GetList(int nPool, LPCTSTR lpszClientAddr, TCHAR * ptszMsgBuffer, int* pInt_MsgLen)
63+
extern "C" BOOL Session_DLStroage_GetBuffer(int nPool, LPCTSTR lpszClientAddr, TCHAR * ptszMsgBuffer, int* pInt_MsgLen)
6464
{
65-
return m_DLStorage.Session_DLStroage_GetList(nPool, lpszClientAddr, ptszMsgBuffer, pInt_MsgLen);
65+
return m_DLStorage.Session_DLStroage_GetBuffer(nPool, lpszClientAddr, ptszMsgBuffer, pInt_MsgLen);
6666
}
6767
extern "C" BOOL Session_DLStroage_GetInfo(int nPool, LPCTSTR lpszClientAddr, SESSION_STORAGEINFO * pSt_StorageInfo)
6868
{

0 commit comments

Comments
 (0)