提交 c731577d 编写于 作者: 报告_前方高能's avatar 报告_前方高能

1.2-20220608

上级 9f8fc8e5
2022-05-26 aneta 1.2.0.5
1. 集成asynsdk: 1.1-20220526, http://asynframe.sf.net
\ No newline at end of file
2022-06-08 aneta 1.2.0.5
1. 集成asynsdk: 1.1-20220608, https://github.com/netsecsp/asynframe
\ No newline at end of file
> asynframe-sdk_v1.1-20220526.zip is from https://github.com/netsecsp/asynframe
> asynframe-sdk_v1.2-20220608.zip is from https://github.com/netsecsp/asynframe
# anetaserver.exe
supports ftp[s]/http[s]/socks network agent service program under windows
......
......@@ -45,8 +45,8 @@ class CNetmsg :
public CMultiThreadModelObject //CComObjectRootEx<CComSingleThreadModel>
{
public:
CNetmsg(uint32_t dwRef = 0)
: CMultiThreadModelObject(dwRef)
CNetmsg(uint32_t dwRef = 0, BOOL ack = 0)
: CMultiThreadModelObject(dwRef), m_ack(ack)
{
}
virtual ~CNetmsg() { }
......@@ -88,8 +88,9 @@ public: //interface of IKeyvalSetter
}
public: //interface of INetmsg
STDMETHOD(Getline)( /*[out]*/STRING *pMethod, /*[out]*/STRING *pParam1, /*[out]*/STRING *pParam2 )
STDMETHOD(Getline)( /*[out]*/STRING *pMethod, /*[out]*/STRING *pParam1, /*[out]*/STRING *pParam2, /*[out]*/BOOL *ack )
{
if( ack ) *ack = m_ack;
if( pMethod )
{
pMethod->ptr = (BYTE *)m_method.c_str();
......@@ -120,6 +121,7 @@ public:
std::string m_param1;
std::string m_param2;
CKeyval m_val;
BOOL m_ack;//0-req 1-ack
};
NAMESPACE_END(asynsdk)
......
......@@ -4,7 +4,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at Tue Apr 26 17:24:45 2022
/* at Wed Jun 08 09:11:21 2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
......@@ -101,7 +101,8 @@ EXTERN_C const IID IID_INetmsg;
virtual HRESULT STDMETHODCALLTYPE Getline(
/* [out] */ STRING *Method,
/* [out] */ STRING *Param1,
/* [out] */ STRING *Param2) = 0;
/* [out] */ STRING *Param2,
/* [out] */ BOOL *ack) = 0;
virtual HRESULT STDMETHODCALLTYPE Setline(
/* [in] */ STRING Method,
......@@ -166,7 +167,8 @@ EXTERN_C const IID IID_INetmsg;
INetmsg * This,
/* [out] */ STRING *Method,
/* [out] */ STRING *Param1,
/* [out] */ STRING *Param2);
/* [out] */ STRING *Param2,
/* [out] */ BOOL *ack);
HRESULT ( STDMETHODCALLTYPE *Setline )(
INetmsg * This,
......@@ -216,8 +218,8 @@ EXTERN_C const IID IID_INetmsg;
( (This)->lpVtbl -> Travel(This,pParams) )
#define INetmsg_Getline(This,Method,Param1,Param2) \
( (This)->lpVtbl -> Getline(This,Method,Param1,Param2) )
#define INetmsg_Getline(This,Method,Param1,Param2,ack) \
( (This)->lpVtbl -> Getline(This,Method,Param1,Param2,ack) )
#define INetmsg_Setline(This,Method,Param1,Param2) \
( (This)->lpVtbl -> Setline(This,Method,Param1,Param2) )
......
......@@ -6,7 +6,7 @@
/* File created by MIDL compiler version 8.00.0603 */
/* at Tue Apr 26 17:24:45 2022
/* at Wed Jun 08 09:11:21 2022
*/
/* Compiler settings for INet.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册