Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f136c22b
Commit
f136c22b
authored
Oct 31, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Add an implementation of IPOP3Transport::CommandSTAT.
parent
d810887b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
pop3transport.c
dlls/inetcomm/pop3transport.c
+34
-2
No files found.
dlls/inetcomm/pop3transport.c
View file @
f136c22b
...
@@ -97,6 +97,32 @@ static void POP3Transport_CallbackRecvLISTResp(IInternetTransport *iface, char *
...
@@ -97,6 +97,32 @@ static void POP3Transport_CallbackRecvLISTResp(IInternetTransport *iface, char *
InternetTransport_ReadLine
(
&
This
->
InetTransport
,
POP3Transport_CallbackProcessLISTResp
);
InternetTransport_ReadLine
(
&
This
->
InetTransport
,
POP3Transport_CallbackProcessLISTResp
);
}
}
static
void
POP3Transport_CallbackProcessSTATResp
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
{
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
POP3RESPONSE
response
;
HRESULT
hr
;
TRACE
(
"
\n
"
);
hr
=
POP3Transport_ParseResponse
(
This
,
pBuffer
,
&
response
);
if
(
FAILED
(
hr
))
{
/* FIXME: handle error */
return
;
}
IPOP3Callback_OnResponse
((
IPOP3Callback
*
)
This
->
InetTransport
.
pCallback
,
&
response
);
}
static
void
POP3Transport_CallbackRecvSTATResp
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
{
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"
\n
"
);
InternetTransport_ReadLine
(
&
This
->
InetTransport
,
POP3Transport_CallbackProcessSTATResp
);
}
static
void
POP3Transport_CallbackProcessPASSResp
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
static
void
POP3Transport_CallbackProcessPASSResp
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
{
{
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
...
@@ -407,8 +433,14 @@ static HRESULT WINAPI POP3Transport_CommandQUIT(IPOP3Transport *iface)
...
@@ -407,8 +433,14 @@ static HRESULT WINAPI POP3Transport_CommandQUIT(IPOP3Transport *iface)
static
HRESULT
WINAPI
POP3Transport_CommandSTAT
(
IPOP3Transport
*
iface
)
static
HRESULT
WINAPI
POP3Transport_CommandSTAT
(
IPOP3Transport
*
iface
)
{
{
FIXME
(
"()
\n
"
);
static
char
stat
[]
=
"STAT
\r\n
"
;
return
E_NOTIMPL
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"
\n
"
);
This
->
command
=
POP3_STAT
;
InternetTransport_DoCommand
(
&
This
->
InetTransport
,
stat
,
POP3Transport_CallbackRecvSTATResp
);
return
S_OK
;
}
}
static
HRESULT
WINAPI
POP3Transport_CommandNOOP
(
IPOP3Transport
*
iface
)
static
HRESULT
WINAPI
POP3Transport_CommandNOOP
(
IPOP3Transport
*
iface
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment