+/**
+ * @file
+ * XXX
+ *
+ * @authors
+ * Copyright (C) 2019 Kevin J. McCarthy <kevin@8t8.us>
+ *
+ * @copyright
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 2 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include "config.h"
-int dummy = 0;
+#include "mutt.h"
+#include "autocrypt.h"
+
+void mutt_autocrypt_init(void)
+{
+ mutt_debug(LL_DEBUG1, "In mutt_autocrypt_init()\n");
+}
+
+void mutt_autocrypt_cleanup(void)
+{
+ mutt_debug(LL_DEBUG1, "In mutt_autocrypt_cleanup()\n");
+}
--- /dev/null
+/**
+ * @file
+ * XXX
+ *
+ * @authors
+ * Copyright (C) 2019 Kevin J. McCarthy <kevin@8t8.us>
+ *
+ * @copyright
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 2 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MUTT_AUTOCRYPT_AUTOCRYPT_H
+#define MUTT_AUTOCRYPT_AUTOCRYPT_H
+
+void mutt_autocrypt_init (void);
+void mutt_autocrypt_cleanup (void);
+
+#endif /* MUTT_AUTOCRYPT_AUTOCRYPT_H */
#ifdef USE_NNTP
#include "nntp/nntp.h"
#endif
+#ifdef USE_AUTOCRYPT
+#include "autocrypt/autocrypt.h"
+#endif
/* These Config Variables are only used in main.c */
bool C_ResumeEditedDraftFiles; ///< Config: Resume editing previously saved draft files
/* Initialize crypto backends. */
crypt_init();
+#ifdef USE_AUTOCRYPT
+ mutt_autocrypt_init();
+#endif
if (new_magic)
{
#endif
#ifdef USE_SASL
mutt_sasl_done();
+#endif
+#ifdef USE_AUTOCRYPT
+ mutt_autocrypt_cleanup();
#endif
log_queue_empty();
mutt_log_stop();