X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt.h;h=6d834c57de969b02c87545dec4ebfd85529c68bf;hp=44dcd9b46fbaa7048e72482e87c1838a9f1413a1;hb=700dbab719f75421b81f8c603d239bbf38cfa6f9;hpb=d2facf5ade8ae6d0831a2b8496b2c1017a935172 diff --git a/mutt.h b/mutt.h index 44dcd9b..6d834c5 100644 --- a/mutt.h +++ b/mutt.h @@ -334,7 +334,7 @@ enum { OPTFORCENAME, OPTFORWDECODE, OPTFORWQUOTE, -#if USE_HCACHE +#ifdef USE_HCACHE OPTHCACHEVERIFY, #if HAVE_QDBM OPTHCACHECOMPRESS, @@ -605,13 +605,13 @@ typedef struct body { PARAMETER *parameter; /* parameters of the content-type */ char *description; /* content-description */ char *form_name; /* Content-Disposition form-data name param */ - long hdr_offset; /* offset in stream where the headers begin. + off_t hdr_offset; /* offset in stream where the headers begin. * this info is used when invoking metamail, * where we need to send the headers of the * attachment */ - long offset; /* offset where the actual data begins */ - LOFF_T length; /* length (in bytes) of attachment */ + off_t offset; /* offset where the actual data begins */ + off_t length; /* length (in bytes) of attachment */ char *filename; /* when sending a message, this is the file * to which this structure refers */ @@ -725,7 +725,7 @@ typedef struct header { time_t date_sent; /* time when the message was sent (UTC) */ time_t received; /* time when the message was placed in the mailbox */ - long offset; /* where in the stream does this message begin? */ + off_t offset; /* where in the stream does this message begin? */ int lines; /* how many lines in the body of this message? */ int index; /* the absolute (unsorted) message number */ int msgno; /* number displayed to the user */ @@ -848,7 +848,7 @@ typedef struct { typedef struct { char *major; int major_int; - char *minor; + const char *minor; regex_t minor_rx; } ATTACH_MATCH;