 /*
  * Khoros: $Id: phantomd.h,v 1.3 1992/03/25 17:32:14 dkhoros Exp $
  */

 /*
  * $Log: phantomd.h,v $
 * Revision 1.3  1992/03/25  17:32:14  dkhoros
 * VirtualPatch5
 *
  */

/*
 *----------------------------------------------------------------------
 *
 * Copyright 1992, University of New Mexico.  All rights reserved.
 * Permission to copy and modify this software and its documen-
 * tation only for internal use in your organization is hereby
 * granted, provided that this notice is retained thereon and
 * on all copies.  UNM makes no representations as to the sui-
 * tability and operability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 * 
 * UNM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
 * NESS.  IN NO EVENT SHALL UNM BE LIABLE FOR ANY SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY OTHER DAMAGES WHAT-
 * SOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER-
 * FORMANCE OF THIS SOFTWARE.
 * 
 * No other rights, including, for example, the right to redis-
 * tribute this software and its documentation or the right to
 * prepare derivative works, are granted unless specifically
 * provided in a separate license agreement.
 *---------------------------------------------------------------------
 */

#include "unmcopyright.h"        /* Copyright 1992 by UNM */


/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 >>>>
 >>>>         File Name: phantomd.h
 >>>>            Author: 
 >>>> Date Last Updated: Sat Mar 21 09:59:37 1992
 >>>> 
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

#ifndef _phantomd_h_
#define _phantomd_h_

#include "vinclude.h"


/* -include_includes */
/* -include_includes_end */

char	**av,		/* argv and argc used by gparams */
	*program;	/* a pointer to the program name argv[0] */
int	ac;

/****************************************************************
*
*                    phantomd Argument Structure
*
****************************************************************/

typedef struct _phantomd  {

/*
 *  Maximum number of connections allowed (Optional integer)
 */
int	 connections_int; 	/* Maximum number of connections allowed INT */
int	 connections_flag;	/* Maximum number of connections allowed FLAG */

/*
 *  type of transport to start the daemon for (Optional string)
 */
char	*transport_string;	/* type of transport to start the daemon for STRING */
int	 transport_flag;   	/* type of transport to start the daemon for FLAG */

/*
 *  number of minutes idle time before quitting (Optional integer)
 */
int	 timeout_int; 	/* number of minutes idle time before quitting INT */
int	 timeout_flag;	/* number of minutes idle time before quitting FLAG */

/*
 *  spawn process in background and disassociate tty (Optional logical)
 */
int	 daemon_logic;	/* spawn process in background and disassociate tty LOGIC */
int	 daemon_flag;  	/* spawn process in background and disassociate tty FLAG */

}  phantomd_struct;

phantomd_struct *phantomd;

/* -include_additions */
/* -include_additions_end */

/* -include_macros */
/* -include_macros_end */

#endif
