/***************************************************************************\
|*                                                                           *|
|*                            Produced under:                                *|
|*        Cooperative Reasearch and Development Agreement 94-173-EL-02       *|
|*                               between                                     *|
|*                        Artificial Horizons®, Inc.                         *|
|*                                 and                                       *|
|*                    Wright Laboratory, WL/FIGS, USAF                       *|
|*                                                                           *|
|*                                  by                                       *|
|*           Robert R. Smith Jr. and Capt Steven J. Rasmussen                *|
|*                                1994-95                                    *|
|*                                                                           *|
\***************************************************************************/


#ifndef	_USR_CBLOCK_H_
#define	_USR_CBLOCK_H_

#define	USR_FCS		0
#define	USR_AC		1

typedef struct cblock_struct {
	int	type;
	char	*desc;
	char 	*inputs;
	char	*outputs;
	char	*params;
	int	update_hz;
	void	(*init)( /* float *inp, float *out, float *parm */ );
	void	(*update)( /* float *inp, float *out, float *parm */ );
} CBlock;

#define USER_STRUCTURE_DEFINE( UserStructureElements ) \
				char cUserStruct[] = #UserStructureElements;	\
				struct UserStruc { UserStructureElements };
//				struct UserStruc { UserStructureElements } usVars;
	

#endif
