X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=init.h;h=3afe5f1784cbcd16d9c67f6d4b588b4f4ac49eb4;hb=b6aa72e3f430fcbdf9cfd797569fc7e3f78e9d67;hp=e50a9f3c86c4b738fbdc9b6c17a0b4614c4e769d;hpb=08b24cfbdc0c35af65891f5b2478dc0ee33feb7e;p=apps%2Fmadmutt.git diff --git a/init.h b/init.h index e50a9f3..3afe5f1 100644 --- a/init.h +++ b/init.h @@ -18,6 +18,8 @@ #endif #include "buffy.h" +#include "mutt.h" +#include "version.h" #include "lib/debug.h" #ifndef _MAKEDOC @@ -32,7 +34,8 @@ #define DT_MAGIC 8 /* mailbox type */ #define DT_SYN 9 /* synonym for another variable */ #define DT_ADDR 10 /* e-mail address */ -#define DT_USER 11 /* user defined viar $user_ */ +#define DT_USER 11 /* user defined via $user_ */ +#define DT_SYS 12 /* pre-defined via $muttng_ */ #define DTYPE(x) ((x) & DT_MASK) @@ -67,11 +70,6 @@ struct option_t { char* init; }; -struct feature_t { - char *name; - short builtin; -}; - #define UL (unsigned long) #endif /* _MAKEDOC */ @@ -245,7 +243,6 @@ struct option_t MuttVars[] = { ** This variable is valid only if $$strict_mime is unset. */ #ifdef USE_NNTP - {"ask_followup_to", DT_SYN, R_NONE, UL "nntp_ask_followup_to", 0}, {"nntp_ask_followup_to", DT_BOOL, R_NONE, OPTASKFOLLOWUP, "no" }, /* ** .pp @@ -255,7 +252,6 @@ struct option_t MuttVars[] = { ** If \fIset\fP, Mutt-ng will prompt you for the \fTFollowup-To:\fP header ** field before editing the body of an outgoing news article. */ - {"ask_x_comment_to", DT_SYN, R_NONE, UL "nntp_ask_x_comment_to", 0}, {"nntp_ask_x_comment_to", DT_BOOL, R_NONE, OPTASKXCOMMENTTO, "no" }, /* ** .pp @@ -378,7 +374,6 @@ struct option_t MuttVars[] = { ** visual terminals don't permit making the cursor invisible. */ #ifdef USE_NNTP - {"catchup_newsgroup", DT_SYN, R_NONE, UL "nntp_catchup", 0}, {"nntp_catchup", DT_QUAD, R_NONE, OPT_CATCHUP, "ask-yes" }, /* ** .pp @@ -516,7 +511,7 @@ struct option_t MuttVars[] = { ** English). */ #ifdef DEBUG - {"debug_level", DT_NUM, R_NONE, UL &DebugLevel, "0" }, + {"debug_level", DT_NUM, R_NONE, UL &DebugLevel, "1" }, /* ** .pp ** Availability: debug @@ -589,7 +584,7 @@ struct option_t MuttVars[] = { ** filtered message is read from the standard output. */ #if defined(DL_STANDALONE) && defined(USE_DOTLOCK) - {"dotlock_program", DT_PATH, R_NONE, UL &MuttDotlock, BINDIR "/muttng_dotlock"}, + {"dotlock_program", DT_PATH, R_NONE, UL &MuttDotlock, "$muttng_bindir/muttng_dotlock"}, /* ** .pp ** Availability: Standalone and Dotlock @@ -681,16 +676,24 @@ struct option_t MuttVars[] = { ** you must take care of space-stuffing