/* Author: Ram Samudrala (me@ram.org)
 * Version: O1.0
 * Detail: <http://www.ram.org/computing/cgi_common/cgi_common.html>
 * November 30, 1996.
 *
 * See the URL above for more information.
 */

#ifndef __CGI_DEFINES__
#define __CGI_DEFINES__

/******************************************************************/
/* Defines you probably need to change */

/* E-mail address of the person in charge of the site */
#ifndef CARETAKER
#define CARETAKER "ram@twisted-helices.com"
#endif

/* Default URL from which scripts are run (not needed for all
 * scripts, but defined here anyway).
 */
#ifndef DEFAULT_URL
#define DEFAULT_URL "http://www.ram.org"
#endif

#ifndef SIGNATURE_FILE
#define SIGNATURE_FILE ".signature"
#endif

/******************************************************************/
/* You may or may not have to change these. */

/* Location of the sendmail program */
#define SENDMAIL_LOCATION "/usr/sbin/sendmail"

/* File name should be a complete file name.  A unique ID will be appended to it. */
/* IMPORTANT: Make sure appropriate permissions are set---make sure if you store
   important information here, it's protected properly */

#define TMP_FILENAME_STRING "/home/ram/tmp/TMP" 

/******************************************************************/
/* Defines that shouldn't generally be edited---specific to the CGI. */

/* Newline command for headers */
#define HEADER_DELIMITER "\015\012"

/* Length of lines. */
#define LINE_LENGTH 10000

/* Maximum number of entries in post form */
#define MAX_ENTRIES 10000

/* String length for various strings used in the program. */
#define STRING_LENGTH 10000

#define TRUE 1
#define FALSE 0
#define ERROR -1
#define LF 10
#define CR 13

/******************************************************************/

#endif /* __CGI_DEFINES__ */


