NeoMutt  2024-04-25-1-g3de005
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
path.h
Go to the documentation of this file.
1
23#ifndef MUTT_MAILDIR_PATH_H
24#define MUTT_MAILDIR_PATH_H
25
26#include "core/lib.h"
27
28struct Buffer;
29struct stat;
30
31int maildir_path_canon (struct Buffer *path);
32int maildir_path_is_empty(struct Buffer *path);
33enum MailboxType maildir_path_probe (const char *path, const struct stat *st);
34
35#endif /* MUTT_MAILDIR_PATH_H */
Convenience wrapper for the core headers.
MailboxType
Supported mailbox formats.
Definition: mailbox.h:41
int maildir_path_canon(struct Buffer *path)
Canonicalise a Mailbox path - Implements MxOps::path_canon() -.
Definition: path.c:44
enum MailboxType maildir_path_probe(const char *path, const struct stat *st)
Is this a Maildir Mailbox? - Implements MxOps::path_probe() -.
Definition: path.c:94
int maildir_path_is_empty(struct Buffer *path)
Is the mailbox empty.
Definition: path.c:57
String manipulation buffer.
Definition: buffer.h:36