#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "email/lib.h"
#include "lib.h"
#include "attach/lib.h"
#include "ncrypt/lib.h"
Go to the source code of this file.
Macros | |
#define | ADD_FLAG(F) add_flag(buf, (env->changed & F), #F) |
#define | ADDR_LIST(AL) dump_addr_list(arr, sizeof(arr), &env->AL, #AL) |
#define | OPT_STRING(S) |
#define | ADD_FLAG(F) add_flag(buf, e->F, #F) |
#define | ADD_FLAG(F) add_flag(buf, (e->security & F), #F) |
#define | ADD_FLAG(F) add_flag(buf, body->F, #F) |
#define | OPT_STRING(S) |
#define | ADD_FLAG(F) add_flag(buf, att->F, #F) |
Functions | |
void | dump_addr_list (char *buf, size_t buflen, const struct AddressList *al, const char *name) |
void | dump_list_head (const struct ListHead *list, const char *name) |
void | dump_envelope (const struct Envelope *env) |
void | dump_email (const struct Email *e) |
void | dump_param_list (const struct ParameterList *pl) |
void | dump_body (const struct Body *body) |
void | dump_attach (const struct AttachPtr *att) |
char | body_name (const struct Body *b) |
void | dump_body_next (struct Buffer *buf, const struct Body *b) |
void | dump_body_one_line (const struct Body *b) |
Dump an Email.
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 email.c.
#define ADD_FLAG | ( | F | ) | add_flag(buf, (env->changed & F), #F) |
#define ADDR_LIST | ( | AL | ) | dump_addr_list(arr, sizeof(arr), &env->AL, #AL) |
#define OPT_STRING | ( | S | ) |
#define ADD_FLAG | ( | F | ) | add_flag(buf, e->F, #F) |
#define ADD_FLAG | ( | F | ) | add_flag(buf, (e->security & F), #F) |
#define ADD_FLAG | ( | F | ) | add_flag(buf, body->F, #F) |
#define OPT_STRING | ( | S | ) |
#define ADD_FLAG | ( | F | ) | add_flag(buf, att->F, #F) |
void dump_addr_list | ( | char * | buf, |
size_t | buflen, | ||
const struct AddressList * | al, | ||
const char * | name | ||
) |
Definition at line 40 of file email.c.
void dump_list_head | ( | const struct ListHead * | list, |
const char * | name | ||
) |
Definition at line 56 of file email.c.
void dump_envelope | ( | const struct Envelope * | env | ) |
Definition at line 77 of file email.c.
void dump_email | ( | const struct Email * | e | ) |
Definition at line 147 of file email.c.
void dump_param_list | ( | const struct ParameterList * | pl | ) |
Definition at line 238 of file email.c.
void dump_body | ( | const struct Body * | body | ) |
Definition at line 261 of file email.c.
void dump_attach | ( | const struct AttachPtr * | att | ) |
Definition at line 344 of file email.c.
char body_name | ( | const struct Body * | b | ) |
Definition at line 372 of file email.c.
Definition at line 395 of file email.c.
void dump_body_one_line | ( | const struct Body * | b | ) |
Definition at line 411 of file email.c.