]> granicus.if.org Git - neomutt/commitdiff
doxy: add missing docs
authorRichard Russon <rich@flatcap.org>
Fri, 17 Aug 2018 17:31:52 +0000 (18:31 +0100)
committerRichard Russon <rich@flatcap.org>
Fri, 17 Aug 2018 17:31:52 +0000 (18:31 +0100)
browser.c
ncrypt/pgpkey.c

index 440cfcd26c0fb933d9c4903ae54c4f9556bc15fb..4cb599893282fdb5289fb4a73592b83f3c1c0860 100644 (file)
--- 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)
index 3341e05ade2638048ea41b3279204db2e4050b51..cba0731e97f5ba54c8bd78c5bbb6bf78f3521706 100644 (file)
@@ -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;