/* **********************************************************************
 * *                                                                    *
 * *    Global variables and functions for biteConfigDiag.              *
 * *                                                                    *
 * **********************************************************************
 * File: utils/bitex2/biteConfigDiag.h
 *
 *                        COPYRIGHT (c) 2006  BY
 *          SIGMET INCORPORATED, WESTFORD MASSACHUSETTS, U.S.A.
 *
 * THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
 * ONLY  IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE
 * INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE  OR  ANY OTHER
 * COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
 * OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
 * TRANSFERED.
 */


#ifndef biteConfigDiag_H
#define biteConfigDiag_H

#ifdef BITE_CONFIG_DIAG_ALLOCATE
#define EXTERNAL
#else
#define EXTERNAL extern
#endif

/**
 * Start Global Widget Declarations.
 */
EXTERNAL Widget   biteConfigDiag;
EXTERNAL Widget   custMenuForm_wgt;
EXTERNAL Widget   numBiteUnitsLab_wgt;
EXTERNAL Widget   numBiteUnitsOM_wgt;
EXTERNAL Widget   numBiteUnitsPane_wgt;
EXTERNAL Widget   numBiteUnitsPB_wgt[BITE_MAX_UNITS+1];
EXTERNAL Widget   unitForm_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionOM_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionPDM_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionRecvStatPB_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionRecvStatQbitePB_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitActionTransPB_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitAliasLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitAliasTxtF_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitIDNumLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitIDNumTxtF_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitByteCntLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   unitByteCntTxtF_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   ageLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   ageTxtF_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   ioLab_wgt[BITE_MAX_UNITS];
EXTERNAL Widget   ioTxtF_wgt[BITE_MAX_UNITS];


Widget createBiteConfigDiag(Widget parent);
void biteConfigOKPB_cbf(Widget, XtPointer, XtPointer);
void biteConfigCancelPB_cbf(Widget, XtPointer, XtPointer);
void biteConfigApplyPB_cbf(Widget, XtPointer, XtPointer);
void unitIDNumTxt_cbf(Widget, XtPointer, XtPointer);
void unitByteCntTxt_cbf(Widget, XtPointer, XtPointer);
void unitAliasTxt_cbf(Widget, XtPointer, XtPointer);
void numBiteUnitsOM_cbf(Widget, XtPointer, XtPointer);
void unitActionRecvOM_cbf(Widget, XtPointer, XtPointer);
void unitActionQbiteOM_cbf(Widget, XtPointer, XtPointer);
void unitActionXmtOM_cbf(Widget, XtPointer, XtPointer);

#undef EXTERN
#endif
