130673Sminshall /*
2*33815Sbostic  * Copyright (c) 1988 Regents of the University of California.
3*33815Sbostic  * All rights reserved.
430673Sminshall  *
5*33815Sbostic  * Redistribution and use in source and binary forms are permitted
6*33815Sbostic  * provided that this notice is preserved and that due credit is given
7*33815Sbostic  * to the University of California at Berkeley. The name of the University
8*33815Sbostic  * may not be used to endorse or promote products derived from this
9*33815Sbostic  * software without specific prior written permission. This software
10*33815Sbostic  * is provided ``as is'' without express or implied warranty.
1130673Sminshall  */
1230673Sminshall 
13*33815Sbostic #ifndef lint
14*33815Sbostic static char sccsid[] = "@(#)globals.c	3.2 (Berkeley) 03/28/88";
15*33815Sbostic #endif /* not lint */
1630673Sminshall 
1730673Sminshall /*
1830673Sminshall  *	Do the defining instances for the globals of tn3270.
1930673Sminshall  */
2030673Sminshall 
2130673Sminshall #include	"../ctlr/hostctlr.h"
2231190Sminshall #include	"../ctlr/oia.h"
2330673Sminshall #include	"../ctlr/options.h"
2430673Sminshall #include	"../ctlr/screen.h"
2530673Sminshall 
2630673Sminshall 
2730673Sminshall #define DEFINING_INSTANCES
2830673Sminshall 
2930673Sminshall #include	"globals.h"
3030731Sminshall 
3131178Sminshall #include	"../general/general.h"
3230731Sminshall 
3330731Sminshall /*
3430731Sminshall  * init_system()
3530731Sminshall  *
3630731Sminshall  * Initialize the global values in case of a restart.
3730731Sminshall  */
3830731Sminshall 
3930731Sminshall void
4030731Sminshall init_system()
4130731Sminshall {
4230731Sminshall     OptHome = OptLeftMargin = OptAPLmode = OptNullProcessing = 0;
4330731Sminshall     OptZonesMode = OptEnterNL = OptColFieldTab = OptPacing = 0;
4430731Sminshall     OptAlphaInNumeric = OptHome = OptLeftMargin = OptWordWrap = 0;
4530731Sminshall 
4630731Sminshall     ClearArray(Host);
4730731Sminshall     CursorAddress = BufferAddress = 0;
4830731Sminshall 
4930731Sminshall     Lowest = Highest = 0;
5030731Sminshall 
5130731Sminshall     UnLocked = AidByte = 0;
5230731Sminshall 
5330731Sminshall }
54