pasadef_h

/*
**	Copyright 1994-2017, Fermi Research Alliance, LLC.  All rights reserved.
*/
/******************************************************************************/
/* pasa.h
**
**      Definitions used with some routines in ul_pasa.
**		
**  MODIFICATION HISTORY:
**
**	V0.0	R Joshel / Accelerator Controls		18-Jan-95
**	created
**
*/
/******************************************************************************/

#ifndef PASADEF_H_DEFINED
#define	PASADEF_H_DEFINED

#include <time.h>
#include "cnsparam.h"
#include "cbslib.h"

/******************************************************************************/
/* 
**	macros
*/
/******************************************************************************/

/******************************************************************************/
/* 
**	defined constants for argument values and structure definitions
*/
/******************************************************************************/

/*
**  states_ routines...
*/
#define	STATES_TEXTLEN			64	/* length of state descriptive text */

/******************************************************************************/
/* 
**	data structures
*/
/******************************************************************************/

/******************************************************************************/
/*
**	function prototypes
*/
/******************************************************************************/

extern "C" {
int states_description(int vmdi, int *numof, int *numi, char *text);
int states_description_ordered(int vmdi, int *numof, int *order,
			       unsigned char *notyet, char *text);
typedef void (*messin)(char *host, int port);
}

/******************************************************************************/
/*
**	equivalent name definitions
*/
/******************************************************************************/

#define DPM_SHOW_FE_ACTIVITY		dpm_show_fe_activity
#define DPM_SHOW_CONNECTED_TASKS	dpm_show_connected_tasks
#define DPM_SHOW_DEVICE_ACCESS		dpm_show_device_access
#define	STATES_DESCRIPTION		states_description
#define	STATES_DESCRIPTION_ORDERED	states_description_ordered

#endif