Maildir/MH local mailbox type. More...
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include "private.h"
#include "mutt/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "mutt.h"
#include "lib.h"
#include "mdata.h"
#include "mdemail.h"
#include "mx.h"
#include "protos.h"
Go to the source code of this file.
Functions | |
mode_t | mh_umask (struct Mailbox *m) |
Create a umask from the mailbox directory. More... | |
int | maildir_move_to_mailbox (struct Mailbox *m, struct MdEmailArray *mda) |
Copy the Maildir list to the Mailbox. More... | |
bool | maildir_update_flags (struct Mailbox *m, struct Email *e_old, struct Email *e_new) |
Update the mailbox flags. More... | |
Maildir/MH local mailbox type.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file shared.c.
mode_t mh_umask | ( | struct Mailbox * | m | ) |
Create a umask from the mailbox directory.
m | Mailbox |
num | Umask |
Definition at line 52 of file shared.c.
int maildir_move_to_mailbox | ( | struct Mailbox * | m, |
struct MdEmailArray * | mda | ||
) |
Copy the Maildir list to the Mailbox.
[in] | m | Mailbox |
[out] | mda | Maildir array to copy, then free |
num | Number of new emails |
0 | Error |
Definition at line 75 of file shared.c.
Update the mailbox flags.
true | The flags changed |
false | Otherwise |
Definition at line 122 of file shared.c.