/* $Cambridge: hermes/src/mailchk/mailchk.h,v 1.1 2003/08/10 22:27:44 dpc22 Exp $ */

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
#include <stdarg.h>
#include <time.h>
#include <ctype.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <errno.h>
#include <sysexits.h>
#include <sys/wait.h>
#include <syslog.h>
#include <pwd.h>
#include <grp.h>
#include <assert.h>

/* Common character sequences */

#define CR   "\015"
#define LF   "\012"
#define CRLF "\015\012"

/* Bool */
typedef int BOOL;

#ifndef NIL
#define NIL (0)
#endif

#ifndef T
#define T   (1)
#endif

#include "iostream.h"
#include "ssl.h"
#include "log.h"
#include "support.h"
#include "imap.h"

/* Fix ctype.h macros. */
#define UC (unsigned char)
#define Uisspace(c) isspace(UC(c))
#define Uisalpha(c) isalpha(UC(c))
#define Uisalnum(c) isalnum(UC(c))
#define Uisdigit(c) isdigit(UC(c))
#define Uiscntrl(c) iscntrl(UC(c))
#define Utoupper(c) toupper(UC(c))
#define Utolower(c) tolower(UC(c))

