 /*
  * Khoros: $Id: form_signal.h,v 1.2 1991/10/02 00:17:30 khoros Exp $
  */

 /*
  * $Log: form_signal.h,v $
 * Revision 1.2  1991/10/02  00:17:30  khoros
 * HellPatch2
 *
  */ 

/*
 *----------------------------------------------------------------------
 *
 * Copyright 1990, 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 too 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 1990 by UNM */

#ifndef	 _form_signal_h_
#define  _form_signal_h_

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >>>>                                                          <<<<
   >>>>	     file: form_signal.h				 <<<<
   >>>>                                                          <<<<
   >>>>      contains: xvf_signal struct                         <<<<
   >>>>                                                          <<<<
   >>>>      written by: Mark Young 				 <<<<
   >>>>                                                          <<<<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */


#include "vsignal.h"

typedef struct _xvf_signal
{
	caddr_t  data;
	int	 pid;

	vstatus  status;
	void	 (*routine)();

	XtIntervalId timeid;
	XtInputId    inputid;
	int	     fid, retry;
	char	     *errorfile;
	FILE	     *error;

	struct _xvf_signal *next, *prev;
} form_signal;

form_signal *xvf_add_handler();

#define XVF_SYSTEM 1
#define XVF_POPEN  2

#endif /* _form_signal_h_ */
/*  Don't add after this line  */
