/* $Cambridge: hermes/src/prayer/accountd/common.h,v 1.11 2005/10/13 10:26:55 dpc22 Exp $ */
/************************************************
 *    Prayer - a Webmail Interface              *
 ************************************************/

/* Copyright (c) University of Cambridge 2000 - 2002 */
/* See the file NOTICE for conditions of use and distribution. */

/* Global constants */

#define ACCOUNTD_PORT    "145"
#define ACCOUNTD_TIMEOUT (300)  /* Five minutes */
#define MAXLENGTH        (8192)
#define VERSION          "v1.0.16"

/* #define USE_SSL */

#define NIL  (0)
#define   T  (1)
typedef int BOOL;

/* 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))

#define CRLF "\015\012"

#define VACATION_ALIASES  "vacation.aliases"


syntax highlighted by Code2HTML, v. 0.9.1