mail.h | mail.h | |||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
* | * | |||
* Author: Mark Crispin | * Author: Mark Crispin | |||
* Networks and Distributed Computing | * Networks and Distributed Computing | |||
* Computing & Communications | * Computing & Communications | |||
* University of Washington | * University of Washington | |||
* Administration Building, AG-44 | * Administration Building, AG-44 | |||
* Seattle, WA 98195 | * Seattle, WA 98195 | |||
* Internet: MRC@CAC.Washington.EDU | * Internet: MRC@CAC.Washington.EDU | |||
* | * | |||
* Date: 22 November 1989 | * Date: 22 November 1989 | |||
* Last Edited: 21 June 2004 | * Last Edited: 6 December 2004 | |||
* | * | |||
* The IMAP toolkit provided in this Distribution is | * The IMAP toolkit provided in this Distribution is | |||
* Copyright 1988-2004 University of Washington. | * Copyright 1988-2004 University of Washington. | |||
* The full text of our legal notices is contained in the file called | * The full text of our legal notices is contained in the file called | |||
* CPYRIGHT, included with this Distribution. | * CPYRIGHT, included with this Distribution. | |||
*/ | */ | |||
/* Build parameters */ | /* Build parameters */ | |||
#define CACHEINCREMENT 250 /* cache growth increments */ | #define CACHEINCREMENT 250 /* cache growth increments */ | |||
#define MAILTMPLEN 1024 /* size of a temporary buffer */ | #define MAILTMPLEN 1024 /* size of a temporary buffer */ | |||
skipping to change at line 60 | skipping to change at line 60 | |||
#define T 1 /* opposite of NIL */ | #define T 1 /* opposite of NIL */ | |||
#define LONGT (long) 1 /* long T */ | #define LONGT (long) 1 /* long T */ | |||
#define VOIDT (void *) "" /* void T */ | #define VOIDT (void *) "" /* void T */ | |||
/* Global and Driver Parameters */ | /* Global and Driver Parameters */ | |||
/* 0xx: driver and authenticator flags */ | /* 0xx: driver and authenticator flags */ | |||
#define ENABLE_DRIVER (long) 1 | #define ENABLE_DRIVER (long) 1 | |||
#define DISABLE_DRIVER (long) 2 | #define DISABLE_DRIVER (long) 2 | |||
#define ENABLE_AUTHENTICATOR (long) 3 | #define ENABLE_AUTHENTICATOR (long) 3 | |||
#define DISABLE_AUTHENTICATOR (long) 4 | #define DISABLE_AUTHENTICATOR (long) 4 | |||
#define ENABLE_DEBUG (long) 5 | ||||
#define DISABLE_DEBUG (long) 6 | ||||
/* 1xx: c-client globals */ | /* 1xx: c-client globals */ | |||
#define GET_DRIVERS (long) 101 | #define GET_DRIVERS (long) 101 | |||
#define SET_DRIVERS (long) 102 | #define SET_DRIVERS (long) 102 | |||
#define GET_GETS (long) 103 | #define GET_GETS (long) 103 | |||
#define SET_GETS (long) 104 | #define SET_GETS (long) 104 | |||
#define GET_CACHE (long) 105 | #define GET_CACHE (long) 105 | |||
#define SET_CACHE (long) 106 | #define SET_CACHE (long) 106 | |||
#define GET_SMTPVERBOSE (long) 107 | #define GET_SMTPVERBOSE (long) 107 | |||
#define SET_SMTPVERBOSE (long) 108 | #define SET_SMTPVERBOSE (long) 108 | |||
#define GET_RFC822OUTPUT (long) 109 | #define GET_RFC822OUTPUT (long) 109 | |||
skipping to change at line 301 | skipping to change at line 303 | |||
#define GET_SASLUSESPTRNAME (long) 558 | #define GET_SASLUSESPTRNAME (long) 558 | |||
#define SET_SASLUSESPTRNAME (long) 559 | #define SET_SASLUSESPTRNAME (long) 559 | |||
#define GET_NETFSSTATBUG (long) 560 | #define GET_NETFSSTATBUG (long) 560 | |||
#define SET_NETFSSTATBUG (long) 561 | #define SET_NETFSSTATBUG (long) 561 | |||
#define GET_SNARFMAILBOXNAME (long) 562 | #define GET_SNARFMAILBOXNAME (long) 562 | |||
#define SET_SNARFMAILBOXNAME (long) 563 | #define SET_SNARFMAILBOXNAME (long) 563 | |||
#define GET_SNARFINTERVAL (long) 564 | #define GET_SNARFINTERVAL (long) 564 | |||
#define SET_SNARFINTERVAL (long) 565 | #define SET_SNARFINTERVAL (long) 565 | |||
#define GET_SNARFPRESERVE (long) 566 | #define GET_SNARFPRESERVE (long) 566 | |||
#define SET_SNARFPRESERVE (long) 567 | #define SET_SNARFPRESERVE (long) 567 | |||
#define GET_INBOXPATH (long) 568 | ||||
#define SET_INBOXPATH (long) 569 | ||||
/* Driver flags */ | /* Driver flags */ | |||
#define DR_DISABLE (long) 0x1 /* driver is disabled */ | #define DR_DISABLE (long) 0x1 /* driver is disabled */ | |||
#define DR_LOCAL (long) 0x2 /* local file driver */ | #define DR_LOCAL (long) 0x2 /* local file driver */ | |||
#define DR_MAIL (long) 0x4 /* supports mail */ | #define DR_MAIL (long) 0x4 /* supports mail */ | |||
#define DR_NEWS (long) 0x8 /* supports news */ | #define DR_NEWS (long) 0x8 /* supports news */ | |||
#define DR_READONLY (long) 0x10 /* driver only allows readonly acces s */ | #define DR_READONLY (long) 0x10 /* driver only allows readonly acces s */ | |||
#define DR_NOFAST (long) 0x20 /* "fast" data is slow (whole msg fetch) */ | #define DR_NOFAST (long) 0x20 /* "fast" data is slow (whole msg fetch) */ | |||
#define DR_NAMESPACE (long) 0x40/* driver has a special namespace */ | #define DR_NAMESPACE (long) 0x40/* driver has a special namespace */ | |||
#define DR_LOWMEM (long) 0x80 /* low amounts of memory available */ | #define DR_LOWMEM (long) 0x80 /* low amounts of memory available */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
rfc822.h | rfc822.h | |||
---|---|---|---|---|
/* | /* | |||
* Program: RFC-822 routines (originally from SMTP) | * Program: RFC 2822 and MIME routines | |||
* | * | |||
* Author: Mark Crispin | * Author: Mark Crispin | |||
* Networks and Distributed Computing | * Networks and Distributed Computing | |||
* Computing & Communications | * Computing & Communications | |||
* University of Washington | * University of Washington | |||
* Administration Building, AG-44 | * Administration Building, AG-44 | |||
* Seattle, WA 98195 | * Seattle, WA 98195 | |||
* Internet: MRC@CAC.Washington.EDU | * Internet: MRC@CAC.Washington.EDU | |||
* | * | |||
* Date: 27 July 1988 | * Date: 27 July 1988 | |||
* Last Edited: 8 November 2000 | * Last Edited: 8 September 2004 | |||
* | * | |||
* The IMAP toolkit provided in this Distribution is | * The IMAP toolkit provided in this Distribution is | |||
* Copyright 2000 University of Washington. | * Copyright 1988-2004 University of Washington. | |||
* The full text of our legal notices is contained in the file called | * The full text of our legal notices is contained in the file called | |||
* CPYRIGHT, included with this Distribution. | * CPYRIGHT, included with this Distribution. | |||
* | * | |||
* This original version of this file is | * This original version of this file is | |||
* Copyright 1988 Stanford University | * Copyright 1988 Stanford University | |||
* and was developed in the Symbolic Systems Resources Group of the Knowled ge | * and was developed in the Symbolic Systems Resources Group of the Knowled ge | |||
* Systems Laboratory at Stanford University in 1987-88, and was funded by the | * Systems Laboratory at Stanford University in 1987-88, and was funded by the | |||
* Biomedical Research Technology Program of the NationalInstitutes of Heal th | * Biomedical Research Technology Program of the NationalInstitutes of Heal th | |||
* under grant number RR-00785. | * under grant number RR-00785. | |||
*/ | */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
smtp.h | smtp.h | |||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
* | * | |||
* Author: Mark Crispin | * Author: Mark Crispin | |||
* Networks and Distributed Computing | * Networks and Distributed Computing | |||
* Computing & Communications | * Computing & Communications | |||
* University of Washington | * University of Washington | |||
* Administration Building, AG-44 | * Administration Building, AG-44 | |||
* Seattle, WA 98195 | * Seattle, WA 98195 | |||
* Internet: MRC@CAC.Washington.EDU | * Internet: MRC@CAC.Washington.EDU | |||
* | * | |||
* Date: 27 July 1988 | * Date: 27 July 1988 | |||
* Last Edited: 22 October 2003 | * Last Edited: 6 December 2004 | |||
* | * | |||
* The IMAP toolkit provided in this Distribution is | * The IMAP toolkit provided in this Distribution is | |||
* Copyright 2003 University of Washington. | * Copyright 2003 University of Washington. | |||
* The full text of our legal notices is contained in the file called | * The full text of our legal notices is contained in the file called | |||
* CPYRIGHT, included with this Distribution. | * CPYRIGHT, included with this Distribution. | |||
* | * | |||
* This original version of this file is | * This original version of this file is | |||
* Copyright 1988 Stanford University | * Copyright 1988 Stanford University | |||
* and was developed in the Symbolic Systems Resources Group of the Knowled ge | * and was developed in the Symbolic Systems Resources Group of the Knowled ge | |||
* Systems Laboratory at Stanford University in 1987-88, and was funded by the | * Systems Laboratory at Stanford University in 1987-88, and was funded by the | |||
skipping to change at line 63 | skipping to change at line 63 | |||
#define smtp_open(hostlist,options) \ | #define smtp_open(hostlist,options) \ | |||
smtp_open_full (NIL,hostlist,"smtp",NIL,options) | smtp_open_full (NIL,hostlist,"smtp",NIL,options) | |||
/* Function prototypes */ | /* Function prototypes */ | |||
void *smtp_parameters (long function,void *value); | void *smtp_parameters (long function,void *value); | |||
SENDSTREAM *smtp_open_full (NETDRIVER *dv,char **hostlist,char *service, | SENDSTREAM *smtp_open_full (NETDRIVER *dv,char **hostlist,char *service, | |||
unsigned long port,long options); | unsigned long port,long options); | |||
SENDSTREAM *smtp_close (SENDSTREAM *stream); | SENDSTREAM *smtp_close (SENDSTREAM *stream); | |||
long smtp_mail (SENDSTREAM *stream,char *type,ENVELOPE *msg,BODY *body); | long smtp_mail (SENDSTREAM *stream,char *type,ENVELOPE *msg,BODY *body); | |||
void smtp_debug (SENDSTREAM *stream); | ||||
void smtp_nodebug (SENDSTREAM *stream); | ||||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
utf8.h | utf8.h | |||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
* | * | |||
* Author: Mark Crispin | * Author: Mark Crispin | |||
* Networks and Distributed Computing | * Networks and Distributed Computing | |||
* Computing & Communications | * Computing & Communications | |||
* University of Washington | * University of Washington | |||
* Administration Building, AG-44 | * Administration Building, AG-44 | |||
* Seattle, WA 98195 | * Seattle, WA 98195 | |||
* Internet: MRC@CAC.Washington.EDU | * Internet: MRC@CAC.Washington.EDU | |||
* | * | |||
* Date: 11 June 1997 | * Date: 11 June 1997 | |||
* Last Edited: 3 June 2004 | * Last Edited: 15 November 2004 | |||
* | * | |||
* The IMAP toolkit provided in this Distribution is | * The IMAP toolkit provided in this Distribution is | |||
* Copyright 1988-2004 University of Washington. | * Copyright 1988-2004 University of Washington. | |||
* The full text of our legal notices is contained in the file called | * The full text of our legal notices is contained in the file called | |||
* CPYRIGHT, included with this Distribution. | * CPYRIGHT, included with this Distribution. | |||
*/ | */ | |||
/* UTF-8 size and conversion routines from UCS-2 values. This will need to | /* UTF-8 size and conversion routines from UCS-2 values. This will need to | |||
* be changed if UTF-16 data (surrogate pairs) are ever an issue. | * be changed if UTF-16 data (surrogate pairs) are ever an issue. | |||
*/ | */ | |||
skipping to change at line 287 | skipping to change at line 287 | |||
#define I2CS_ISO8859_15 (I2CS_96 | I2CS_96_ISO8859_15) | #define I2CS_ISO8859_15 (I2CS_96 | I2CS_96_ISO8859_15) | |||
#define I2CS_ISO8859_16 (I2CS_96 | I2CS_96_ISO8859_16) | #define I2CS_ISO8859_16 (I2CS_96 | I2CS_96_ISO8859_16) | |||
/* Miscellaneous ISO 2022 definitions */ | /* Miscellaneous ISO 2022 definitions */ | |||
#define EUC_CS2 0x8e /* single shift CS2 */ | #define EUC_CS2 0x8e /* single shift CS2 */ | |||
#define EUC_CS3 0x8f /* single shift CS3 */ | #define EUC_CS3 0x8f /* single shift CS3 */ | |||
#define BITS7 0x7f /* 7-bit value mask */ | #define BITS7 0x7f /* 7-bit value mask */ | |||
#define BIT8 0x80 /* 8th bit mask */ | #define BIT8 0x80 /* 8th bit mask */ | |||
#define UBOGON 0xfffd /* UCS-2 bogus character */ | ||||
/* The following saves us from having to have yet more charset tables */ | ||||
/* UCS2 codepoints */ | /* UCS2 codepoints */ | |||
#define UCS2_POUNDSTERLING 0x00a3 | #define UCS2_POUNDSTERLING 0x00a3 | |||
#define UCS2_YEN 0x00a5 | #define UCS2_YEN 0x00a5 | |||
#define UCS2_OVERLINE 0x203e | #define UCS2_OVERLINE 0x203e | |||
#define UCS2_KATAKANA 0xff61 | #define UCS2_KATAKANA 0xff61 | |||
#define UBOGON 0xfffd /* replacement character */ | ||||
/* hankaku katakana parameters */ | /* British ASCII codepoints */ | |||
#define BRITISH_POUNDSTERLING 0x23 | ||||
/* JIS Roman codepoints */ | ||||
#define JISROMAN_YEN 0x5c | ||||
#define JISROMAN_OVERLINE 0x7e | ||||
/* hankaku katakana codepoints & parameters | ||||
*/ | ||||
#define MIN_KANA_7 0x21 | #define MIN_KANA_7 0x21 | |||
#define MAX_KANA_7 0x5f | #define MAX_KANA_7 0x5f | |||
#define KANA_7 (UCS2_KATAKANA - MIN_KANA_7) | #define KANA_7 (UCS2_KATAKANA - MIN_KANA_7) | |||
#define MIN_KANA_8 (MIN_KANA_7 | BIT8) | #define MIN_KANA_8 (MIN_KANA_7 | BIT8) | |||
#define MAX_KANA_8 (MAX_KANA_7 | BIT8) | #define MAX_KANA_8 (MAX_KANA_7 | BIT8) | |||
#define KANA_8 (UCS2_KATAKANA - MIN_KANA_8) | #define KANA_8 (UCS2_KATAKANA - MIN_KANA_8) | |||
/* Charset scripts */ | /* Charset scripts */ | |||
/* The term "script" is used here in a very loose sense, enough to make | /* The term "script" is used here in a very loose sense, enough to make | |||
* purists cringe. Basically, the idea is to give the main program some | * purists cringe. Basically, the idea is to give the main program some | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 14 lines changed or added | |||