More string and buffer functions.
[apps/madmutt.git] / lib-lua / madmutt.cpkg
index f134c75..ff9985e 100644 (file)
@@ -24,7 +24,7 @@
 #include <pwd.h>
 
 #include <lib-lua/lib-lua.h>
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
 #include <lib-sys/unix.h>
 
 #include "../mutt.h"
@@ -113,9 +113,9 @@ static void madmutt_update_cachedir(const char *dir)
 }
 
 
-#if defined(HAVE_QDBM)
-#  define HCACHE_BACKEND  "qdbm"
-#elif defined(HAVE_GDBM)
+#if defined(HAVE_TOKYOCABINET)
+#  define HCACHE_BACKEND  "tokyocabinet"
+#elif defined(HAVE_QDBM)
 #  define HCACHE_BACKEND  "gdbm"
 #elif defined(HAVE_DB4)
 #  define HCACHE_BACKEND  "db4"
@@ -161,12 +161,6 @@ static void mod_core_init2(void)
      */
     const string_t hcache_backend = HCACHE_BACKEND;
 
-    /*
-     ** .pp
-     ** Contains the path of the \fTmadmutt_dotlock(1)\fP binary to be used by
-     ** Madmutt.
-     */
-    path_t dotlock        = m_strdup(BINDIR "/mutt_dotlock");
     /*
      ** .pp
      ** This variable specifies which editor is used by Madmutt.