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
61f8ede3
...
61f8ede323abf0ba8b105c7cf633996b56f06f40
authored
2005-07-26 06:28:57 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Updated declarations of struct _record objects.
1 parent
3bcd7814
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
12 deletions
mailbox/imap/folder.c
mailbox/maildir/folder.c
mailbox/mbox/folder.c
mailbox/mh/folder.c
mailbox/nntp/folder.c
mailbox/pop/folder.c
mailbox/sendmail.c
mailbox/smtp.c
mailbox/imap/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation,
Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -63,6 +64,7 @@
/* Variable use for the registrar. */
static
struct
_record
_imap_record
=
{
MU_IMAP_PRIO
,
MU_IMAP_SCHEME
,
_url_imap_init
,
/* url entry. */
_mailbox_imap_init
,
/* Mailbox entry. */
...
...
mailbox/maildir/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -96,6 +96,7 @@ _maildir_url_init (url_t url)
static
struct
_record
_maildir_record
=
{
MU_MAILDIR_PRIO
,
MU_MAILDIR_SCHEME
,
_maildir_url_init
,
/* Url init. */
_mailbox_maildir_init
,
/* Mailbox init. */
...
...
mailbox/mbox/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2003, 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -46,6 +46,7 @@
static
struct
_record
_mbox_record
=
{
MU_MBOX_PRIO
,
MU_MBOX_SCHEME
,
_url_mbox_init
,
/* Mailbox init. */
_mailbox_mbox_init
,
/* Mailbox init. */
...
...
@@ -83,6 +84,7 @@ _path_is_scheme (record_t record, const char *url)
static
struct
_record
_path_record
=
{
MU_PATH_PRIO
,
MU_PATH_SCHEME
,
_url_path_init
,
/* Mailbox init. */
_mailbox_mbox_init
,
/* Mailbox init. */
...
...
@@ -184,22 +186,20 @@ folder_mbox_destroy (folder_t folder)
/* Noop. */
static
int
folder_mbox_open
(
folder_t
folder
,
int
flags
)
folder_mbox_open
(
folder_t
folder
,
int
flags
ARG_UNUSED
)
{
fmbox_t
fmbox
=
folder
->
data
;
if
(
flags
&
MU_STREAM_CREAT
)
{
return
(
mkdir
(
fmbox
->
dirname
,
S_IRWXU
)
==
0
)
?
0
:
errno
;
}
(
void
)(
flags
);
return
0
;
}
/* Noop. */
static
int
folder_mbox_close
(
folder_t
folder
)
folder_mbox_close
(
folder_t
folder
ARG_UNUSED
)
{
(
void
)(
folder
);
return
0
;
}
...
...
mailbox/mh/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2003, 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -126,6 +126,7 @@ _mh_url_init (url_t url)
static
struct
_record
_mh_record
=
{
MU_MH_PRIO
,
MU_MH_SCHEME
,
_mh_url_init
,
/* Url init. */
_mailbox_mh_init
,
/* Mailbox init. */
...
...
mailbox/nntp/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -44,6 +44,7 @@
static
struct
_record
_nntp_record
=
{
MU_NNTP_PRIO
,
MU_NNTP_URL_SCHEME
,
_nntp_url_init
,
/* Url init. */
_nntp_mailbox_init
,
/* Mailbox init. */
...
...
mailbox/pop/folder.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2003
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -43,6 +43,7 @@
static
struct
_record
_pop_record
=
{
MU_POP_PRIO
,
MU_POP_SCHEME
,
_url_pop_init
,
/* Url init. */
_mailbox_pop_init
,
/* Mailbox init. */
...
...
mailbox/sendmail.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -48,6 +48,7 @@
static
struct
_record
_sendmail_record
=
{
MU_SENDMAIL_PRIO
,
MU_SENDMAIL_SCHEME
,
_url_sendmail_init
,
/* url init. */
NULL
,
/* Mailbox entry. */
...
...
mailbox/smtp.c
View file @
61f8ede
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004
, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -53,6 +53,7 @@
#include <registrar0.h>
static
struct
_record
_smtp_record
=
{
MU_SMTP_PRIO
,
MU_SMTP_SCHEME
,
_url_smtp_init
,
/* url init. */
NULL
,
/* Mailbox init. */
...
...
Please
register
or
sign in
to post a comment