1 /* ======================================================================== 2 * Copyright 1988-2006 University of Washington 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * 11 * ======================================================================== 12 */ 13 14 /* 15 * Program: c-client master include for application programs 16 * 17 * Author: Mark Crispin 18 * Networks and Distributed Computing 19 * Computing & Communications 20 * University of Washington 21 * Administration Building, AG-44 22 * Seattle, WA 98195 23 * Internet: MRC@CAC.Washington.EDU 24 * 25 * Date: 19 May 2000 26 * Last Edited: 6 December 2006 27 */ 28 29 #ifndef __CCLIENT_H /* nobody should include this twice... */ 30 #define __CCLIENT_H 31 32 #ifdef __cplusplus /* help out people who use C++ compilers */ 33 extern "C" { 34 /* If you use gcc, you may also have to use -fno-operator-names */ 35 #define private cclientPrivate /* private to c-client */ 36 #define and cclientAnd /* C99 doesn't realize that ISO 646 is dead */ 37 #define or cclientOr 38 #define not cclientNot 39 #endif 40 41 #include "mail.h" /* primary interfaces */ 42 43 #ifdef __cplusplus /* undo hacks before including OS headers */ 44 #undef private 45 #undef and 46 #undef or 47 #undef not 48 #endif 49 50 #include "osdep.h" /* OS-dependent routines */ 51 52 #ifdef __cplusplus /* redo hacks after including OS headers */ 53 #define private cclientPrivate 54 #define and cclientAnd 55 #define or cclientOr 56 #define not cclientNot 57 #endif 58 59 #include "rfc822.h" /* RFC822 and MIME routines */ 60 #include "smtp.h" /* SMTP sending routines */ 61 #include "nntp.h" /* NNTP sending routines */ 62 #include "utf8.h" /* Unicode and charset routines */ 63 #include "utf8aux.h" /* Unicode auxillary routines */ 64 #include "misc.h" /* miscellaneous utility routines */ 65 66 #ifdef __cplusplus /* undo the C++ mischief */ 67 #undef private 68 } 69 #endif 70 71 #endif 72