Maildir shared functions. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>#include "mutt/lib.h"#include "email/lib.h"#include "core/lib.h"#include "mutt.h"#include "mdata.h"#include "protos.h"
Include dependency graph for shared.c:Go to the source code of this file.
Functions | |
| mode_t | maildir_umask (struct Mailbox *m) |
| Create a umask from the mailbox directory. | |
| void | maildir_canon_filename (struct Buffer *dest, const char *src) |
| Generate the canonical filename for a Maildir folder. | |
| bool | maildir_update_flags (struct Mailbox *m, struct Email *e_old, struct Email *e_new) |
| Update the mailbox flags. | |
Maildir shared functions.
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 maildir_umask | ( | struct Mailbox * | m | ) |
Create a umask from the mailbox directory.
| m | Mailbox |
| num | Umask |
Definition at line 47 of file shared.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void maildir_canon_filename | ( | struct Buffer * | dest, |
| const char * | src ) |
Generate the canonical filename for a Maildir folder.
: may be replaced as the field delimiter by a user defined alternative. Definition at line 73 of file shared.c.
Here is the call graph for this function:
Here is the caller graph for this function:Update the mailbox flags.
| true | The flags changed |
| false | Otherwise |
Definition at line 105 of file shared.c.
Here is the call graph for this function:
Here is the caller graph for this function: