Abbreviate a Mailbox path.
More...
|
static int | comp_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | imap_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | maildir_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | mh_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | mbox_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | nntp_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | nm_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static int | pop_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
Abbreviate a Mailbox path.
- Parameters
-
buf | Path to modify |
buflen | Length of buffer |
folder | Base path for '=' substitution |
- Return values
-
- Precondition
- buf is not NULL
◆ comp_path_pretty()
static int comp_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
Abbreviate a Mailbox path - Implements MxOps::path_pretty() -.
Definition at line 905 of file compress.c.
906{
908 return 0;
909
911 return 0;
912
913 return -1;
914}
char * HomeDir
User's home directory.
bool mutt_path_abbr_folder(char *buf, const char *folder)
Create a folder abbreviation.
bool mutt_path_pretty(char *buf, size_t buflen, const char *homedir, bool is_dir)
Tidy a filesystem path.
◆ imap_path_pretty()
static int imap_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
Abbreviate a Mailbox path - Implements MxOps::path_pretty() -.
Definition at line 2450 of file imap.c.
2451{
2452 if (!folder)
2453 return -1;
2454
2456 return 0;
2457}
void imap_pretty_mailbox(char *path, size_t pathlen, const char *folder)
Prettify an IMAP mailbox name.
◆ maildir_path_pretty()
static int maildir_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
◆ mh_path_pretty()
static int mh_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
◆ mbox_path_pretty()
static int mbox_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
◆ nntp_path_pretty()
static int nntp_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
◆ nm_path_pretty()
static int nm_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |
◆ pop_path_pretty()
static int pop_path_pretty |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
const char * |
folder |
|
) |
| |
|
static |