| 1 | /* |
| 2 | * Copyright (c) 1993-2024 Paul Mattes. |
| 3 | * Copyright (c) 2005, Don Russell. |
| 4 | * Copyright (c) 1990, Jeff Sparkes. |
| 5 | * All rights reserved. |
| 6 | * |
| 7 | * Redistribution and use in source and binary forms, with or without |
| 8 | * modification, are permitted provided that the following conditions are met: |
| 9 | * * Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * * Redistributions in binary form must reproduce the above copyright |
| 12 | * notice, this list of conditions and the following disclaimer in the |
| 13 | * documentation and/or other materials provided with the distribution. |
| 14 | * * Neither the names of Paul Mattes, Don Russell, Jeff Sparkes nor the |
| 15 | * names of their contributors may be used to endorse or promote |
| 16 | * products derived from this software without specific prior written |
| 17 | * permission. |
| 18 | * |
| 19 | * THIS SOFTWARE IS PROVIDED BY PAUL MATTES, DON RUSSELL AND JEFF SPARKES |
| 20 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PAUL MATTES, DON RUSSELL OR JEFF |
| 23 | * SPARKES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, |
| 24 | * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 29 | * POSSIBILITY OF SUCH DAMAGE. |
| 30 | */ |
| 31 | |
| 32 | /* |
| 33 | * xglobals.h |
| 34 | * Common definitions for x3270. |
| 35 | */ |
| 36 | |
| 37 | extern Atom a_3270, a_registry, a_encoding; |
| 38 | extern XtAppContext appcontext; |
| 39 | extern int default_screen; |
| 40 | extern bool *extended_3270font; |
| 41 | extern Font *fid; |
| 42 | extern bool *font_8bit; |
| 43 | extern bool *full_apl_font; |
| 44 | extern char *locale_name; |
| 45 | extern Widget toplevel; |
| 46 | extern Atom a_atom; |
| 47 | extern Atom a_delete_me; |
| 48 | extern Atom a_font; |
| 49 | extern Atom a_net_wm_name; |
| 50 | extern Atom a_net_wm_state; |
| 51 | extern Atom a_net_wm_state_maximized_horz; |
| 52 | extern Atom a_net_wm_state_maximized_vert; |
| 53 | extern Atom a_pixel_size; |
| 54 | extern Atom a_save_yourself; |
| 55 | extern Atom a_spacing; |
| 56 | extern Atom a_state; |
| 57 | extern Display *display; |
| 58 | extern Pixmap gray; |
| 59 | extern Pixel keypadbg_pixel; |
| 60 | extern XrmDatabase rdb; |
| 61 | extern Window root_window; |
| 62 | extern char *user_title; |
| 63 | |
| 64 | extern XrmOptionDescRec *options; |
| 65 | extern int num_options; |
| 66 | |
| 67 | #if defined(USE_APP_DEFAULTS) /*[*/ |
| 68 | extern const char *app_defaults_version; |
| 69 | #endif /*]*/ |