-/* Network security library routines for nmh.
+/* netsec.h -- network-security library routines.
*
* These are a common set of routines to handle network security for
* things like SASL and OpenSSL.
-/* Implementation of OAuth 2.0 [1] for XOAUTH2 in SMTP [2] and POP3 [3].
+/* oauth.h -- OAuth 2.0 implementation for XOAUTH2 in SMTP and POP3.
*
* Google defined XOAUTH2 for SMTP, and that's what we use here. If other
* providers implement XOAUTH2 or some similar OAuth-based SMTP authentication
* protocol, it should be simple to extend this.
*
- * [1] https://tools.ietf.org/html/rfc6749
- * [2] https://developers.google.com/gmail/xoauth2_protocol
- * [3] http://googleappsdeveloper.blogspot.com/2014/10/updates-on-authentication-for-gmail.html
+ * OAuth https://tools.ietf.org/html/rfc6749
+ * SMTP https://developers.google.com/gmail/xoauth2_protocol
+ * POP3 http://googleappsdeveloper.blogspot.com/2014/10/updates-on-authentication-for-gmail.html
*
* Presumably [2] should document POP3 and that is an over-sight. As it stands,
* that blog post is the closest we have to documentation.
-/* This code is Copyright (c) 2013, by the authors of nmh. See the
+/* credentials.c -- wrap configurable access to .netrc or similar files.
+ *
+ * This code is Copyright (c) 2013, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
*/
-/* Routines to encode message headers using RFC 2047-encoding.
+/* encode_rfc2047.c -- encode message headers using RFC 2047 encoding.
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
-/* Portions of this code are Copyright (c) 1988, 1993
+/* getpass.c -- read a password without echo.
+ *
+ * Portions of this code are Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
-/* The Single Unix Specification function nl_langinfo(CODESET)
+/* norm_charmap.c -- map locale's encoding to MIME charset.
+ *
+ * The Single Unix Specification function nl_langinfo(CODESET)
* returns the name of the encoding used by the currently selected
* locale:
*
-/* This code is Copyright (c) 2014, by the authors of nmh. See the
+/* oauth.c -- OAuth 2.0 implementation for XOAUTH2 in SMTP and POP3.
+ *
+ * This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
*/
-/* This code is Copyright (c) 2014, by the authors of nmh. See the
+/* oauth_prof.c -- OAuth 2.0 implementation for XOAUTH2 in SMTP and POP3.
+ *
+ * This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
*/
-/* Portions of this code are
+/* ruserpass.c -- parse .netrc-format file.
+ *
+ * Portions of this code are
* Copyright (c) 1985 Regents of the University of California.
* All rights reserved.
*