#include <lib-lib/macros.h>
#include <lib-lib/file.h>
+#include <lib-sys/unix.h>
+
#include <lib-mime/mime.h>
+#include <lib-ui/curses.h>
+
#include "mutt.h"
-#include "mutt_curses.h"
#include "mutt_idna.h"
#include "pgp.h"
-#include "lib/debug.h"
/*
* The actual command line formatter.
};
-const char *_mutt_fmt_pgp_command (char *dest,
- size_t destlen,
- char op,
- const char *src,
- const char *prefix,
- const char *ifstring,
- const char *elsestring,
- unsigned long data, format_flag flags)
+const char *
+_mutt_fmt_pgp_command(char *dest, ssize_t destlen,
+ char op, const char *src, const char *prefix,
+ const char *ifstring, const char *elsestring,
+ unsigned long data, format_flag flags)
{
char fmt[16];
struct pgp_command_context *cctx = (struct pgp_command_context *) data;
return (src);
}
-void mutt_pgp_command (char *d, size_t dlen, struct pgp_command_context *cctx,
+void mutt_pgp_command (char *d, ssize_t dlen, struct pgp_command_context *cctx,
const char *fmt)
{
mutt_FormatString (d, dlen, NONULL (fmt), _mutt_fmt_pgp_command,
(unsigned long) cctx, 0);
- debug_print (2, ("%s\n", d));
}
/*
pid_t pgp_invoke_list_keys (FILE ** pgpin, FILE ** pgpout, FILE ** pgperr,
int pgpinfd, int pgpoutfd, int pgperrfd,
- pgp_ring_t keyring, LIST * hints)
+ pgp_ring_t keyring, string_list_t * hints)
{
char uids[HUGE_STRING];
char tmpuids[HUGE_STRING];