#include <time.h>
#include <lib-lib/mem.h>
+#include <lib-lib/str.h>
+#include <lib-lib/macros.h>
+#include <lib-lib/file.h>
+
+#include <lib-mime/mime.h>
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "pgp.h"
-#include "rfc822.h"
-#include "lib/intl.h"
-#include "lib/str.h"
#include "lib/debug.h"
/*
struct pgp_command_context cctx;
char cmd[HUGE_STRING];
- memset (&cctx, 0, sizeof (cctx));
+ p_clear(&cctx, 1);
if (!format || !*format)
return (pid_t) - 1;
char cmd[HUGE_STRING];
struct pgp_command_context cctx;
- memset (&cctx, 0, sizeof (cctx));
+ p_clear(&cctx, 1);
mutt_quote_filename (_fname, sizeof (_fname), fname);
cctx.fname = _fname;
mutt_system (cmd);
}
-void pgp_invoke_getkeys (ADDRESS * addr)
+void pgp_invoke_getkeys (address_t * addr)
{
char buff[LONG_STRING];
char tmp[LONG_STRING];
if (!PgpGetkeysCommand)
return;
- memset (&cctx, 0, sizeof (cctx));
+ p_clear(&cctx, 1);
personal = addr->personal;
addr->personal = NULL;