/*
 ******************************************************************************
 *  Copyright 1984-1994 United States Data Corporation. All Rights Reserved.
 ******************************************************************************
 *                                - NOTICE -
 *
 *  The information contained herein is confidential information of United
 *  States Data Corporation, a Delaware corporation, and is protected by
 *  United States copyright and trade secret law and international treaties.
 *  This information is not to be disclosed, used or copied by or transferred
 *  to any individual, corporation, company or other person without the
 *  express written permission of United States Data Corporation.
 ******************************************************************************
 *
 * Module:	FactoryLink Lite Header File
 *
 * History:	09/15/93 clc	Creation. 
 *				Base count = 539
 *		01/05/94 tmw	updated BASE_TAG_COUNT for new ALOG tags
 *				Base count = 579
 *		05/25/94 bjc	updated base count for PowerSPC
 *				Base count = 583
 *		09/07/94 rpb	Corrected base count, object.asc was changed!
 *				Base count = 581
 *		05/23/95 eor	Corrected base count, Distributed Alog tags
 *				Base count = 564
 *		06/16/95 eor	Corrected base count, SPR 3498
 *				Base count = 601
 *				IMPORTANT -- In order not to break any existing 
 *				FLLITE apps any new tags added to FLNEW must be
 *				added to the previously set BASE_TAG_COUNT.
 *				Tags that have been dropped from FLNEW must be
 *				are ignored (not decremented) in the 
 *				BASE_TAG_COUNT since an FLCONV will never 
 *				delete unused tags from object.cdb
 *		10/02/95 eor	BASE_TAG_COUNT for FLECS v6.0 FLNEW with Single
 *				Point Configuration Tables defaulted.  10 EDI
 *				control tables configured and Data Point Logger
 *				table / Historian Mailboxes configured.
 *		10/16/95 eor	Removed FL4.2 ALOG global tag arrays.  FL4.2 ALOG
 *				is an obsolete task.  Reduces the TAG COUNT by 40
 *				FL4.2 ALOG used 4 TAG Arrays of size 10.
 *		01/13/96 rpb	SPR #4384 - Set new tag count for new ECS flnew
 *				(does not include member tags)
 *		01/18/96 mcr	SPR #4330 - Set new tag count for latest ECS FLNEW
 *				per Todd Malone.
 *		01/23/96 mcr	SPR #4561 - Set new tag count for yet the latest 
 *				ECS FLNEW per Todd Malone.
 */

#ifndef _FL_LITE_INCLUDED
#define _FL_LITE_INCLUDED

#include <limits.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Numeric Lite Marcos */
#define BASE_TAG_COUNT  717L         /* # of system tags */
#define	MICRO_TAG_COUNT 1050L        /* max user tags in MICRO system */
#define MINI_TAG_COUNT  3050L        /* max user tags in MINI system */

/* Lite bit masks */
#define FL_BIT_LITE     0x0001
#define FL_BIT_MINI     0x0002
#define FL_BIT_MICRO    0x0004

typedef struct
{
	u32  lite_bit_mask;
	u32  max_total_tags;
	u32  max_io_tags;

} FL_LITE_INFO;

extern int fl_load_lite(FL_LITE_INFO *infop);
extern int fl_describe_lite(u32 mask, FL_LITE_INFO *infop);

#ifdef __cplusplus
}
#endif

#endif


