WHERE char *Hostname;
WHERE struct MbTable *FromChars;
WHERE char *IndexFormat;
-WHERE char *HistoryFile;
#ifdef USE_IMAP
WHERE char *ImapAuthenticators;
WHERE short DebugLevel;
WHERE char *DebugFile;
-WHERE short History;
WHERE short MenuContext;
WHERE short PagerContext;
WHERE short PagerIndexLines;
WHERE short ReadInc;
WHERE short ReflowWrap;
-WHERE short SaveHistory;
WHERE short SendmailWait;
WHERE short SleepTime;
WHERE short SkipQuotedOffset;
#include "options.h"
#include "protos.h"
+short History;
+char *HistoryFile;
+bool HistoryRemoveDups;
+short SaveHistory;
+
+#define HC_FIRST HC_CMD
+
/* This history ring grows from 0..History, with last marking the
* where new entries go:
* 0 the oldest entry in the ring
#include <stdbool.h>
+extern short History;
+extern char *HistoryFile;
+extern bool HistoryRemoveDups;
+extern short SaveHistory;
+
/**
* enum HistoryClass - Type to differentiate different histories
*/
HC_LAST
};
-#define HC_FIRST HC_CMD
-
void mutt_init_history(void);
void mutt_read_histfile(void);
void mutt_history_add(enum HistoryClass hclass, const char *s, bool save);
#include "buffy.h"
#include "globals.h"
#include "group.h"
+#include "history.h"
#include "mutt_commands.h"
#include "mutt_options.h"
#include "mutt/mutt.h"
WHERE bool HideThreadSubject;
WHERE bool HideTopLimited;
WHERE bool HideTopMissing;
-WHERE bool HistoryRemoveDups;
WHERE bool HonorDisposition;
WHERE bool IgnoreListReplyTo;
#ifdef USE_IMAP