Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | * Copyright (c) 2012,2015 Free Software Foundation, Inc. * |
| 3 | * * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a * |
| 5 | * copy of this software and associated documentation files (the * |
| 6 | * "Software"), to deal in the Software without restriction, including * |
| 7 | * without limitation the rights to use, copy, modify, merge, publish, * |
| 8 | * distribute, distribute with modifications, sublicense, and/or sell * |
| 9 | * copies of the Software, and to permit persons to whom the Software is * |
| 10 | * furnished to do so, subject to the following conditions: * |
| 11 | * * |
| 12 | * The above copyright notice and this permission notice shall be included * |
| 13 | * in all copies or substantial portions of the Software. * |
| 14 | * * |
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * |
| 16 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * |
| 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * |
| 18 | * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * |
| 19 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * |
| 20 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * |
| 21 | * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * |
| 22 | * * |
| 23 | * Except as contained in this notice, the name(s) of the above copyright * |
| 24 | * holders shall not be used in advertising or otherwise to promote the * |
| 25 | * sale, use or other dealings in this Software without prior written * |
| 26 | * authorization. * |
| 27 | ****************************************************************************/ |
| 28 | |
| 29 | /**************************************************************************** |
| 30 | * Author: Thomas E. Dickey 2012-on * |
| 31 | ****************************************************************************/ |
| 32 | /* LINTLIBRARY */ |
| 33 | |
| 34 | /* ./tinfo/alloc_entry.c */ |
| 35 | |
| 36 | #include <curses.priv.h> |
| 37 | #include <tic.h> |
| 38 | |
| 39 | #undef _nc_init_entry |
| 40 | void _nc_init_entry( |
| 41 | TERMTYPE *const tp) |
| 42 | { /* void */ } |
| 43 | |
| 44 | #undef _nc_copy_entry |
| 45 | ENTRY *_nc_copy_entry( |
| 46 | ENTRY *oldp) |
| 47 | { return(*(ENTRY **)0); } |
| 48 | |
| 49 | #undef _nc_save_str |
| 50 | char *_nc_save_str( |
| 51 | const char *const string) |
| 52 | { return(*(char **)0); } |
| 53 | |
| 54 | #undef _nc_wrap_entry |
| 55 | void _nc_wrap_entry( |
| 56 | ENTRY *const ep, |
| 57 | NCURSES_BOOL copy_strings) |
| 58 | { /* void */ } |
| 59 | |
| 60 | #undef _nc_merge_entry |
| 61 | void _nc_merge_entry( |
| 62 | TERMTYPE *const to, |
| 63 | TERMTYPE *const from) |
| 64 | { /* void */ } |
| 65 | |
| 66 | /* ./tinfo/captoinfo.c */ |
| 67 | |
| 68 | #include <ctype.h> |
| 69 | |
| 70 | #undef _nc_captoinfo |
| 71 | char *_nc_captoinfo( |
| 72 | const char *cap, |
| 73 | const char *s, |
| 74 | int const parameterized) |
| 75 | { return(*(char **)0); } |
| 76 | |
| 77 | #undef _nc_infotocap |
| 78 | char *_nc_infotocap( |
| 79 | const char *cap, |
| 80 | const char *str, |
| 81 | int const parameterized) |
| 82 | { return(*(char **)0); } |
| 83 | |
| 84 | /* ./tinfo/comp_expand.c */ |
| 85 | |
| 86 | #undef _nc_tic_expand |
| 87 | char *_nc_tic_expand( |
| 88 | const char *srcp, |
| 89 | NCURSES_BOOL tic_format, |
| 90 | int numbers) |
| 91 | { return(*(char **)0); } |
| 92 | |
| 93 | /* ./tinfo/comp_parse.c */ |
| 94 | |
| 95 | #undef _nc_check_termtype2 |
| 96 | void (*_nc_check_termtype2)( |
| 97 | TERMTYPE *p1, |
| 98 | NCURSES_BOOL p2); |
| 99 | #undef _nc_check_termtype |
| 100 | void (*_nc_check_termtype)( |
| 101 | TERMTYPE *p1); |
| 102 | |
| 103 | #undef _nc_entry_match |
| 104 | NCURSES_BOOL _nc_entry_match( |
| 105 | char *n1, |
| 106 | char *n2) |
| 107 | { return(*(NCURSES_BOOL *)0); } |
| 108 | |
| 109 | #undef _nc_read_entry_source |
| 110 | void _nc_read_entry_source( |
| 111 | FILE *fp, |
| 112 | char *buf, |
| 113 | int literal, |
| 114 | NCURSES_BOOL silent, |
| 115 | NCURSES_BOOL (*hook)( |
| 116 | ENTRY *p1)) |
| 117 | { /* void */ } |
| 118 | |
| 119 | #undef _nc_resolve_uses2 |
| 120 | int _nc_resolve_uses2( |
| 121 | NCURSES_BOOL fullresolve, |
| 122 | NCURSES_BOOL literal) |
| 123 | { return(*(int *)0); } |
| 124 | |
| 125 | #undef _nc_resolve_uses |
| 126 | int _nc_resolve_uses( |
| 127 | NCURSES_BOOL fullresolve) |
| 128 | { return(*(int *)0); } |
| 129 | |
| 130 | /* ./tinfo/comp_scan.c */ |
| 131 | |
| 132 | #undef _nc_syntax |
| 133 | int _nc_syntax; |
| 134 | #undef _nc_strict_bsd |
| 135 | int _nc_strict_bsd; |
| 136 | #undef _nc_curr_file_pos |
| 137 | long _nc_curr_file_pos; |
| 138 | #undef _nc_comment_start |
| 139 | long _nc_comment_start; |
| 140 | #undef _nc_comment_end |
| 141 | long _nc_comment_end; |
| 142 | #undef _nc_start_line |
| 143 | long _nc_start_line; |
| 144 | #undef _nc_curr_token |
| 145 | struct token _nc_curr_token; |
| 146 | #undef _nc_disable_period |
| 147 | NCURSES_BOOL _nc_disable_period; |
| 148 | |
| 149 | #undef _nc_reset_input |
| 150 | void _nc_reset_input( |
| 151 | FILE *fp, |
| 152 | char *buf) |
| 153 | { /* void */ } |
| 154 | |
| 155 | #undef _nc_get_token |
| 156 | int _nc_get_token( |
| 157 | NCURSES_BOOL silent) |
| 158 | { return(*(int *)0); } |
| 159 | |
| 160 | #undef _nc_trans_string |
| 161 | int _nc_trans_string( |
| 162 | char *ptr, |
| 163 | char *last) |
| 164 | { return(*(int *)0); } |
| 165 | |
| 166 | #undef _nc_push_token |
| 167 | void _nc_push_token( |
| 168 | int tokclass) |
| 169 | { /* void */ } |
| 170 | |
| 171 | #undef _nc_panic_mode |
| 172 | void _nc_panic_mode( |
| 173 | char ch) |
| 174 | { /* void */ } |
| 175 | |
| 176 | /* ./tinfo/parse_entry.c */ |
| 177 | |
| 178 | #undef _nc_parse_entry |
| 179 | int _nc_parse_entry( |
| 180 | struct entry *entryp, |
| 181 | int literal, |
| 182 | NCURSES_BOOL silent) |
| 183 | { return(*(int *)0); } |
| 184 | |
| 185 | #undef _nc_capcmp |
| 186 | int _nc_capcmp( |
| 187 | const char *s, |
| 188 | const char *t) |
| 189 | { return(*(int *)0); } |
| 190 | |
| 191 | typedef struct { |
| 192 | const char from[3]; |
| 193 | const char to[6]; |
| 194 | } assoc; |
| 195 | |
| 196 | /* ./tinfo/write_entry.c */ |
| 197 | |
| 198 | #include <hashed_db.h> |
| 199 | |
| 200 | #undef _nc_set_writedir |
| 201 | void _nc_set_writedir( |
| 202 | const char *dir) |
| 203 | { /* void */ } |
| 204 | |
| 205 | #undef _nc_write_entry |
| 206 | void _nc_write_entry( |
| 207 | TERMTYPE *const tp) |
| 208 | { /* void */ } |
| 209 | |
| 210 | #undef _nc_tic_written |
| 211 | int _nc_tic_written(void) |
| 212 | { return(*(int *)0); } |