~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002101854

« back to all changes in this revision

Viewing changes to mutt.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg, Antonio Radici, Christoph Berg
  • Date: 2009-06-20 15:00:50 UTC
  • mfrom: (16.1.1 sid) (16.2.1 experimental)
  • mto: (2.1.6 sid)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090620150050-ta3y92wwef0m5y4t
Tags: 1.5.20-2
[ Antonio Radici ]
* debian/patches/series:
  + upstream/533209-mutt_perror.patch: better error reporting if a mailbox
    cannot be opened (Closes: 533209)
  + upstream/533459-unmailboxes.patch: fixes a segfault with the unmailboxes 
    command (Closes: 533459)
  + upstream/533439-mbox-time.patch: do not corrupt the atime/mtime of 
    mboxes when opened (Closes: 533439)
  + upstream/531430-imapuser.patch: ask the user for the right information
    while logging in on IMAP servers (Closes: 531430)
  + upstream/534543-imap-port.patch: correctly parse the port in an IMAP
    url (Closes: 534543)
  + added the right copyright misc/smime_keys-manpage.patch
  + mutt-patched/sidebar: refreshed
  + mutt-patched/sidebar-{dotted,sorted} added (Closes: 523774)
* debian/control:
  + Debian policy bumped to 3.8.2
* debian/mutt.install and debian/extra/lib/mailto-mutt: 
  + added the firefox mailto handler (Closes: 406850)

[ Christoph Berg ]
* Remove maildir-mtime patch, upstream has a different implementation
  (though with different results; Closes: 533471)
* Use elinks-lite (with an alternative Build-Dependency on elinks) for
  rendering the manual. Thanks to Ahmed El-Mahmoudy for the suggestion.
  (Closes: 533445)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#include <limits.h>
36
36
#include <stdarg.h>
37
37
#include <signal.h>
 
38
/* On OS X 10.5.x, wide char functions are inlined by default breaking
 
39
 * --without-wc-funcs compilation
 
40
 */
 
41
#ifdef __APPLE_CC__
 
42
#define _DONT_USE_CTYPE_INLINE_
 
43
#endif
38
44
#ifdef HAVE_WCHAR_H
39
45
# include <wchar.h>
40
46
#endif
75
81
 
76
82
#include "mutt_regex.h"
77
83
 
78
 
/* flags for mutt_copy_header() */
79
 
#define CH_UPDATE       1      /* update the status and x-status fields? */
80
 
#define CH_WEED         (1<<1) /* weed the headers? */
81
 
#define CH_DECODE       (1<<2) /* do RFC1522 decoding? */
82
 
#define CH_XMIT         (1<<3) /* transmitting this message? */
83
 
#define CH_FROM         (1<<4) /* retain the "From " message separator? */
84
 
#define CH_PREFIX       (1<<5) /* use Prefix string? */
85
 
#define CH_NOSTATUS     (1<<6) /* supress the status and x-status fields */
86
 
#define CH_REORDER      (1<<7) /* Re-order output of headers */
87
 
#define CH_NONEWLINE    (1<<8) /* don't output terminating newline */
88
 
#define CH_MIME         (1<<9) /* ignore MIME fields */
89
 
#define CH_UPDATE_LEN   (1<<10) /* update Lines: and Content-Length: */
90
 
#define CH_TXTPLAIN     (1<<11) /* generate text/plain MIME headers */
91
 
#define CH_NOLEN        (1<<12) /* don't write Content-Length: and Lines: */
92
 
#define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */
93
 
#define CH_FORCE_FROM   (1<<14) /* give CH_FROM precedence over CH_WEED? */
94
 
#define CH_NOQFROM      (1<<15) /* give CH_FROM precedence over CH_WEED? */
95
 
#define CH_UPDATE_IRT   (1<<16) /* update In-Reply-To: */
96
 
#define CH_UPDATE_REFS  (1<<17) /* update References: */
97
 
 
98
84
/* flags for mutt_enter_string() */
99
85
#define  M_ALIAS   1      /* do alias "completion" by calling up the alias-menu */
100
86
#define  M_FILE    (1<<1) /* do file completion */
278
264
  OPT_COPY,
279
265
  OPT_DELETE,
280
266
  OPT_FORWEDIT,
 
267
  OPT_FCCATTACH,
281
268
  OPT_INCLUDE,
282
269
  OPT_MFUPTO,
283
270
  OPT_MIMEFWD,
351
338
  OPTENCODEFROM,
352
339
  OPTENVFROM,
353
340
  OPTFASTREPLY,
354
 
  OPTFCCATTACH,
355
341
  OPTFCCCLEAR,
356
342
  OPTFOLLOWUPTO,
357
343
  OPTFORCENAME,
359
345
  OPTFORWQUOTE,
360
346
#ifdef USE_HCACHE
361
347
  OPTHCACHEVERIFY,
362
 
#ifdef HAVE_QDBM
 
348
#if defined(HAVE_QDBM) || defined(HAVE_TC)
363
349
  OPTHCACHECOMPRESS,
364
350
#endif /* HAVE_QDBM */
365
351
#endif
372
358
  OPTHIDETHREADSUBJECT,
373
359
  OPTHIDETOPLIMITED,
374
360
  OPTHIDETOPMISSING,
 
361
  OPTHONORDISP,
375
362
  OPTIGNORELWS,
376
363
  OPTIGNORELISTREPLYTO,
377
364
#ifdef USE_IMAP
390
377
  OPTSSLV3,
391
378
  OPTTLSV1,
392
379
  OPTSSLFORCETLS,
 
380
  OPTSSLVERIFYDATES,
 
381
  OPTSSLVERIFYHOST,
393
382
#endif /* defined(USE_SSL) */
394
383
  OPTIMPLICITAUTOVIEW,
395
384
  OPTINCLUDEONLYFIRST,
564
553
/* add an element to a list */
565
554
LIST *mutt_add_list (LIST *, const char *);
566
555
LIST *mutt_add_list_n (LIST*, const void *, size_t);
 
556
LIST *mutt_find_list (LIST *, const char *);
567
557
 
568
558
void mutt_init (int, LIST *);
569
559
 
829
819
  unsigned int alladdr : 1;
830
820
  unsigned int stringmatch : 1;
831
821
  unsigned int groupmatch : 1;
 
822
  unsigned int ign_case : 1;            /* ignore case for local stringmatch searches */
832
823
  int min;
833
824
  int max;
834
825
  struct pattern_t *next;
937
928
#define state_reset_prefix(s) ((s)->flags &= ~M_PENDINGPREFIX)
938
929
#define state_puts(x,y) fputs(x,(y)->fpout)
939
930
#define state_putc(x,y) fputc(x,(y)->fpout)
 
931
#define state_putws(x,y) fputws(x,(y)->fpout)
 
932
#define state_putwc(x,y) fputwc(x,(y)->fpout)
940
933
 
941
934
void state_mark_attach (STATE *);
942
935
void state_attach_puts (const char *, STATE *);