globals.h revision 1abf7346
1/* $XConsortium: globals.h,v 1.9 94/04/17 20:43:51 dave Exp $ */ 2/* 3 4Copyright (c) 1987, 1988 X Consortium 5 6Permission is hereby granted, free of charge, to any person obtaining 7a copy of this software and associated documentation files (the 8"Software"), to deal in the Software without restriction, including 9without limitation the rights to use, copy, modify, merge, publish, 10distribute, sublicense, and/or sell copies of the Software, and to 11permit persons to whom the Software is furnished to do so, subject to 12the following conditions: 13 14The above copyright notice and this permission notice shall be included 15in all copies or substantial portions of the Software. 16 17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 21OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23OTHER DEALINGS IN THE SOFTWARE. 24 25Except as contained in this notice, the name of the X Consortium shall 26not be used in advertising or otherwise to promote the sale, use or 27other dealings in this Software without prior written authorization 28from the X Consortium. 29 30*/ 31/* $XFree86$ */ 32 33#include "man.h" 34 35extern Xman_Resources resources; /* Resource manager sets these. */ 36 37/* bookkeeping global variables. */ 38 39extern Widget help_widget; /* The help widget. */ 40 41extern int default_height,default_width; /* Approximately the default with and 42 height, of the manpage when shown, 43 the the top level manual page 44 window */ 45extern int man_pages_shown; /* The current number of manual 46 pages being shown, if 0 we exit. */ 47 48extern Manual * manual; /* The manual structure. */ 49extern int sections; /* The number of manual sections. */ 50 51extern XContext manglobals_context; /* The context for man_globals. */ 52 53extern Widget initial_widget; /* The initial widget, never realized. */ 54 55extern char **saved_argv; 56extern int saved_argc; 57