From: Richard Russon Date: Fri, 17 Aug 2018 17:31:52 +0000 (+0100) Subject: doxy: add missing docs X-Git-Tag: 2019-10-25~689^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e12fcd3f73386369a9f5f6bf3b044c57ae6a8213;p=neomutt doxy: add missing docs --- diff --git a/browser.c b/browser.c index 440cfcd26..4cb599893 100644 --- a/browser.c +++ b/browser.c @@ -699,6 +699,16 @@ static const char *group_index_format_str(char *buf, size_t buflen, size_t col, } #endif /* USE_NNTP */ +/** + * add_folder - Add a folder to the browser list + * @param m Menu to + * @param state Browser state + * @param name Name of folder + * @param desc Description of folder + * @param s stat info for the folder + * @param b Mailbox + * @param data Data to associate with the folder + */ static void add_folder(struct Menu *m, struct BrowserState *state, const char *name, const char *desc, const struct stat *s, struct Mailbox *b, void *data) diff --git a/ncrypt/pgpkey.c b/ncrypt/pgpkey.c index 3341e05ad..cba0731e9 100644 --- a/ncrypt/pgpkey.c +++ b/ncrypt/pgpkey.c @@ -342,6 +342,14 @@ static void pgp_entry(char *buf, size_t buflen, struct Menu *menu, int num) pgp_entry_fmt, (unsigned long) &entry, MUTT_FORMAT_ARROWCURSOR); } +/** + * compare_key_address - Compare Key addresses and IDs for sorting + * @param a First key + * @param b Second key + * @retval -1 a precedes b + * @retval 0 a and b are identical + * @retval 1 b precedes a + */ static int compare_key_address(const void *a, const void *b) { int r;