* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* remote host account manipulation (POP/IMAP) */
-
#include "config.h"
#include <stdio.h>
#include <string.h>
}
/**
- * mutt_format_string - Format a string, like snprintf()
+ * mutt_simple_format - Format a string, like snprintf()
*
* This formats a string, a bit like snprintf (dest, destlen, "%-*.*s",
* min_width, max_width, s), except that the widths refer to the number of
goto bail;
}
- /*
- * 2002-09-05 me@sigpipe.org
- * The file the user is going to edit is not a real mbox, so we need to
+ /* The file the user is going to edit is not a real mbox, so we need to
* truncate the last newline in the temp file, which is logically part of
* the message separator, and not the body of the message. If we fail to
* remove it, the message will grow by one line each time the user edits
else
of = MUTT_ADD_FROM;
- /*
- * XXX - we have to play games with the message flags to avoid
- * problematic behavior with maildir folders.
- *
- */
+ /* XXX - we have to play games with the message flags to avoid
+ * problematic behavior with maildir folders. */
o_read = cur->read;
o_old = cur->old;
else if (rc == -1)
mutt_message(_("Error. Preserving temporary file: %s"), tmp);
-
return rc;
}
/**
* @file
- * Flags to control mutt_FormatString()
+ * Flags to control mutt_expando_format()
*
* @authors
* Copyright (C) 2017 Richard Russon <rich@flatcap.org>
const char *ifstring, const char *elsestring,
unsigned long data, enum FormatFlag flags);
-void mutt_expando_format(char *dest, /* output buffer */
- size_t destlen, /* output buffer len */
- size_t col, /* starting column (nonzero when called recursively) */
- int cols, /* maximum columns */
- const char *src, /* template string */
- format_t *callback, /* callback for processing */
- unsigned long data, /* callback data */
- enum FormatFlag flags); /* callback flags */
+void mutt_expando_format(char *dest, size_t destlen, size_t col, int cols,
+ const char *src, format_t *callback,
+ unsigned long data, enum FormatFlag flags);
#endif /* _MUTT_FORMAT_FLAGS_H */
** message. The send-menu may still be accessed once you have finished
** editing the body of your message.
** .pp
- ** .pp
** \fBNote:\fP when this option is \fIset\fP, you cannot use send-hooks that depend
** on the recipients when composing a new (non-reply) message, as the initial
** list of recipients is empty.
struct Option
{
const char *option; /**< user-visible name */
- short type; /**< varible type, e.g. *DT_STR */
+ short type; /**< variable type, e.g. *DT_STR */
short flags; /**< notification flags, e.g. R_PAGER */
unsigned long data; /**< pointer to the global variable */
unsigned long init; /**< initial value */
}
/**
- * mutt_signed_handler - Verify a "multipart/signed" body.
+ * mutt_signed_handler - Verify a "multipart/signed" body
*/
int mutt_signed_handler(struct Body *a, struct State *s)
{
* @param[out] elen Buffer length
* @param[in] specials Special characters to be encoded
*
- *
* Place the result of RFC-2047-encoding (d, dlen) into the dynamically
* allocated buffer (e, elen). The input data is in charset fromcode
* and is converted into a charset chosen from charsets.
}
/**
- * cb_qsort_sbe - qsort callback to sort SBENTRYs
+ * cb_qsort_sbe - qsort callback to sort SbEntry's
* @param a First SbEntry to compare
* @param b Second SbEntry to compare
* @retval -1 a precedes b
}
/**
- * prepare_sidebar - Prepare the list of SBENTRYs for the sidebar display
+ * prepare_sidebar - Prepare the list of SbEntry's for the sidebar display
* @param page_size The number of lines on a page
* @retval false No, don't draw the sidebar
* @retval true Yes, draw the sidebar
}
/**
- * url_parse_ciss - Fill in CissUrl.
+ * url_parse_ciss - Fill in CissUrl
*
* char* elements are pointers into src, which is modified by this call
* (duplicate it first if you need to).
};
/**
- * print_compile_options - Print a list of enabled/disabled features.
+ * print_compile_options - Print a list of enabled/disabled features
*
* Two lists are generated and passed to this function:
*