Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ab9fa400
...
ab9fa400a77dcd5835f9ce00dc7ded8f09ae58f0
authored
2002-02-07 16:05:05 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
AUTH=GSSAPI if supported.
1 parent
ca33941f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
imap4d/capability.c
imap4d/capability.c
View file @
ab9fa40
...
...
@@ -17,12 +17,26 @@
#include "imap4d.h"
char
*
capa
[]
=
{
"IMAP4rev1"
,
"NAMESPACE"
,
#ifdef WITH_GSSAPI
"AUTH=GSSAPI"
,
#endif
NULL
};
int
imap4d_capability
(
struct
imap4d_command
*
command
,
char
*
arg
)
{
int
i
;
(
void
)
arg
;
if
(
!
(
command
->
states
&
state
))
return
util_finish
(
command
,
RESP_BAD
,
"Wrong state"
);
util_out
(
RESP_NONE
,
"CAPABILITY IMAP4rev1 NAMESPACE"
);
util_send
(
"* CAPABILITY"
);
for
(
i
=
0
;
capa
[
i
];
i
++
)
util_send
(
" %s"
,
capa
[
i
]);
util_send
(
"
\r\n
"
);
return
util_finish
(
command
,
RESP_OK
,
"Completed"
);
}
...
...
Please
register
or
sign in
to post a comment