/*
 * Copyright 1988, 1989, 1990, 1991 Massachusetts Institute of Technology
 */
/* MAXSOCKETS determines the maximum number of clients and devices that can 
   be connected  to a single server */
#define MAXSOCKETS 30

/* QUERYTIME is the number of seconds between polls of remote servers
   for which an attempted connection failed.  In addition, the server
   will spin down the disks when no client has made a server request
   in QUERYTIME * SPINMULT seconds. */
#define QUERYTIME 20

/* The server will spin down the disks after QUERYTIME * SPINMULT
   seconds have elapsed with no client requests */
#define SPINMULT 180

/* MAX_LOCK_TIME determines the maximum time, in seconds, for which a
   client issued server lock will remain valid. */
#define MAX_LOCK_TIME 0

/* MAX_BLOCK determines the maximum time, in seconds, for which the
   server will block waiting to read data from a client.*/
#define MAX_BLOCK 20

/* RELEASE_TIMEOUT determines how long the server will wait before
   releasing resources used in a client request.  If a client does not
   issue a GRelease() before this timeout happens, the release occurs
   anyway. */
#define RELEASE_TIMEOUT 5

/* FORWARD_TIMEOUT determines how long the server will wait before it
   decides that a remote server is not responding */
#define FORWARD_TIMEOUT 120

/* MAXIMUM_LISTS is the maximum number of seamless playback lists which
   can be resident in the server at a given time
*/
#define MAXIMUM_LISTS 128

/* CONFIGURATION_FILE is the default location for the server configuration
   file */
/* #define CONFIGURATION_FILE SERVCONF */
#define CONFIGURATION_FILE strfile(SERVFILEDIR,"/galatead.conf")

/* MOUNT_FILE is the location of the file used for keeping track of 
   user mount information */
#define MOUNT_FILE strfile(SERVFILEDIR,"/galatead.mount")

/* HOST_NOTIFY_FILE is the file in which the server maintains the list
   of servers which have requested notifications.  This file should NOT
   be in a temporary area which is cleared on reboot.  */
#define HOST_NOTIFY_FILE strfile(SERVFILEDIR,"/galatead.hosts")

/* PID_FILE is the file in which the server writes its process id */
#define PID_FILE strfile(SERVFILEDIR,"/galatead.pid")

/* DBM_DIR is the diretory into which the server creates and manages 
   databases */
#define DBM_DIR strfile(SERVFILEDIR,"/galatead.db")

/* MAXOUTPUTS is the maximum number of physical outputs an individual
   switcher can support */
#define MAXOUTPUTS	20

/* LOGFILE determines the location of the logfile if SYSLOG is not
   enabled as a compile-time option. */
#define LOGFILE "/usr/adm/Gmsgs"

/* MAXSERVEROUTS is the maximum number of virtual outputs a server
   can present to client connections */
#define MAXSERVEROUTS   20

/* CORE_DUMP_DIR specifies a directory into which the server will attempt to
   place core dumps */
/* #define CORE_DUMP_DIR "/" */
 
/* MAX_ERRORS specifies the maximum number of consecutive errors that 
   may occur on a single device before a volume table rebuild occurs */
#define MAX_ERRORS 5
