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
d0f66bb2
...
d0f66bb25c3e4b58d91f3c8dcfb73abe7764302b
authored
2004-01-08 16:28:58 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added maildir support
1 parent
28d63fd9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
libmu_scm/mu_scm.c
mailbox/include/registrar0.h
mailbox/mu_argp.c
libmu_scm/mu_scm.c
View file @
d0f66bb
...
...
@@ -62,6 +62,7 @@ struct format_record {
static
struct
format_record
format_table
[]
=
{
{
"mbox"
,
&
mbox_record
},
{
"mh"
,
&
mh_record
},
{
"maildir"
,
&
maildir_record
},
{
"pop"
,
&
pop_record
},
{
"imap"
,
&
imap_record
},
{
"sendmail"
,
&
sendmail_record
},
...
...
mailbox/include/registrar0.h
View file @
d0f66bb
...
...
@@ -36,52 +36,58 @@ extern "C" {
*/
#define MU_POP_PORT 110
#define MU_POP_SCHEME "pop://"
#define MU_POP_SCHEME_LEN
6
#define MU_POP_SCHEME_LEN
(sizeof (MU_POP_SCHEME) - 1)
extern
int
_url_pop_init
__P
((
url_t
));
extern
int
_mailbox_pop_init
__P
((
mailbox_t
));
extern
int
_folder_pop_init
__P
((
folder_t
));
#define MU_IMAP_PORT 143
#define MU_IMAP_SCHEME "imap://"
#define MU_IMAP_SCHEME_LEN
7
#define MU_IMAP_SCHEME_LEN
(sizeof (MU_IMAP_SCHEME) - 1)
extern
int
_url_imap_init
__P
((
url_t
));
extern
int
_mailbox_imap_init
__P
((
mailbox_t
));
extern
int
_folder_imap_init
__P
((
folder_t
));
#define MU_MBOX_SCHEME "mbox:"
#define MU_MBOX_SCHEME_LEN
5
#define MU_MBOX_SCHEME_LEN
(sizeof (MU_MBOX_SCHEME) - 1)
extern
int
_url_mbox_init
__P
((
url_t
));
extern
int
_mailbox_mbox_init
__P
((
mailbox_t
));
extern
int
_folder_mbox_init
__P
((
folder_t
));
#define MU_FILE_SCHEME "file:"
#define MU_FILE_SCHEME_LEN
5
#define MU_FILE_SCHEME_LEN
(sizeof (MU_FILE_SCHEME) - 1)
extern
int
_url_file_init
__P
((
url_t
));
extern
int
_mailbox_file_init
__P
((
mailbox_t
));
extern
int
_folder_file_init
__P
((
folder_t
));
#define MU_PATH_SCHEME "/"
#define MU_PATH_SCHEME_LEN
1
#define MU_PATH_SCHEME_LEN
(sizeof (MU_PATH_SCHEME) - 1)
extern
int
_url_path_init
__P
((
url_t
));
extern
int
_mailbox_path_init
__P
((
mailbox_t
));
extern
int
_folder_path_init
__P
((
folder_t
));
#define MU_SMTP_SCHEME "smtp://"
#define MU_SMTP_SCHEME_LEN
7
#define MU_SMTP_SCHEME_LEN
(sizeof (MU_SMTP_SCHEME) - 1)
#define MU_SMTP_PORT 25
extern
int
_url_smtp_init
__P
((
url_t
));
extern
int
_mailer_smtp_init
__P
((
mailer_t
));
#define MU_SENDMAIL_SCHEME "sendmail:"
#define MU_SENDMAIL_SCHEME_LEN
9
#define MU_SENDMAIL_SCHEME_LEN
(sizeof (MU_SENDMAIL_SCHEME) - 1)
extern
int
_url_sendmail_init
__P
((
url_t
));
extern
int
_mailer_sendmail_init
__P
((
mailer_t
));
#define MU_MH_SCHEME "mh:"
#define MU_MH_SCHEME_LEN
3
#define MU_MH_SCHEME_LEN
(sizeof (MU_MH_SCHEME) - 1)
extern
int
_url_mh_init
__P
((
url_t
));
extern
int
_mailbox_mh_init
__P
((
mailbox_t
mailbox
));
extern
int
_folder_mh_init
__P
((
folder_t
));
#define MU_MAILDIR_SCHEME "maildir:"
#define MU_MAILDIR_SCHEME_LEN (sizeof (MU_MAILDIR_SCHEME) - 1)
extern
int
_url_maildir_init
__P
((
url_t
));
extern
int
_mailbox_maildir_init
__P
((
mailbox_t
mailbox
));
extern
int
_folder_maildir_init
__P
((
folder_t
));
#ifdef __cplusplus
}
...
...
mailbox/mu_argp.c
View file @
d0f66bb
...
...
@@ -318,6 +318,9 @@ static char *mu_conf_option[] = {
#ifdef ENABLE_MH
"ENABLE_MH"
,
#endif
#ifdef ENABLE_MAILDIR
"ENABLE_MAILDIR"
,
#endif
#ifdef ENABLE_SMTP
"ENABLE_SMTP"
,
#endif
...
...
Please
register
or
sign in
to post a comment