| 1 |
/**************************************************************************** |
| 2 |
* Copyright (c) 2002-2005,2010 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 2002-2005,2010 * |
| 31 |
****************************************************************************/ |
| 32 |
/* LINTLIBRARY */ |
| 33 |
|
| 34 |
/* ./m_attribs.c */ |
| 35 |
|
| 36 |
#include <menu.priv.h> |
| 37 |
|
| 38 |
#undef set_menu_fore |
| 39 |
int set_menu_fore( |
| 40 |
MENU *menu, |
| 41 |
chtype attr) |
| 42 |
{ return(*(int *)0); } |
| 43 |
|
| 44 |
#undef menu_fore |
| 45 |
chtype menu_fore( |
| 46 |
const MENU *menu) |
| 47 |
{ return(*(chtype *)0); } |
| 48 |
|
| 49 |
#undef set_menu_back |
| 50 |
int set_menu_back( |
| 51 |
MENU *menu, |
| 52 |
chtype attr) |
| 53 |
{ return(*(int *)0); } |
| 54 |
|
| 55 |
#undef menu_back |
| 56 |
chtype menu_back( |
| 57 |
const MENU *menu) |
| 58 |
{ return(*(chtype *)0); } |
| 59 |
|
| 60 |
#undef set_menu_grey |
| 61 |
int set_menu_grey( |
| 62 |
MENU *menu, |
| 63 |
chtype attr) |
| 64 |
{ return(*(int *)0); } |
| 65 |
|
| 66 |
#undef menu_grey |
| 67 |
chtype menu_grey( |
| 68 |
const MENU *menu) |
| 69 |
{ return(*(chtype *)0); } |
| 70 |
|
| 71 |
/* ./m_cursor.c */ |
| 72 |
|
| 73 |
#undef _nc_menu_cursor_pos |
| 74 |
int _nc_menu_cursor_pos( |
| 75 |
const MENU *menu, |
| 76 |
const ITEM *item, |
| 77 |
int *pY, |
| 78 |
int *pX) |
| 79 |
{ return(*(int *)0); } |
| 80 |
|
| 81 |
#undef pos_menu_cursor |
| 82 |
int pos_menu_cursor( |
| 83 |
const MENU *menu) |
| 84 |
{ return(*(int *)0); } |
| 85 |
|
| 86 |
/* ./m_driver.c */ |
| 87 |
|
| 88 |
#undef _nc_Match_Next_Character_In_Item_Name |
| 89 |
int _nc_Match_Next_Character_In_Item_Name( |
| 90 |
MENU *menu, |
| 91 |
int ch, |
| 92 |
ITEM **item) |
| 93 |
{ return(*(int *)0); } |
| 94 |
|
| 95 |
#undef menu_driver |
| 96 |
int menu_driver( |
| 97 |
MENU *menu, |
| 98 |
int c) |
| 99 |
{ return(*(int *)0); } |
| 100 |
|
| 101 |
/* ./m_format.c */ |
| 102 |
|
| 103 |
#undef set_menu_format |
| 104 |
int set_menu_format( |
| 105 |
MENU *menu, |
| 106 |
int rows, |
| 107 |
int cols) |
| 108 |
{ return(*(int *)0); } |
| 109 |
|
| 110 |
#undef menu_format |
| 111 |
void menu_format( |
| 112 |
const MENU *menu, |
| 113 |
int *rows, |
| 114 |
int *cols) |
| 115 |
{ /* void */ } |
| 116 |
|
| 117 |
/* ./m_global.c */ |
| 118 |
|
| 119 |
#undef _nc_Default_Menu |
| 120 |
MENU _nc_Default_Menu; |
| 121 |
#undef _nc_Default_Item |
| 122 |
ITEM _nc_Default_Item; |
| 123 |
|
| 124 |
#undef _nc_Connect_Items |
| 125 |
NCURSES_BOOL _nc_Connect_Items( |
| 126 |
MENU *menu, |
| 127 |
ITEM **items) |
| 128 |
{ return(*(NCURSES_BOOL *)0); } |
| 129 |
|
| 130 |
#undef _nc_Disconnect_Items |
| 131 |
void _nc_Disconnect_Items( |
| 132 |
MENU *menu) |
| 133 |
{ /* void */ } |
| 134 |
|
| 135 |
#undef _nc_Calculate_Text_Width |
| 136 |
int _nc_Calculate_Text_Width( |
| 137 |
const TEXT *item) |
| 138 |
{ return(*(int *)0); } |
| 139 |
|
| 140 |
#undef _nc_Calculate_Item_Length_and_Width |
| 141 |
void _nc_Calculate_Item_Length_and_Width( |
| 142 |
MENU *menu) |
| 143 |
{ /* void */ } |
| 144 |
|
| 145 |
#undef _nc_Link_Items |
| 146 |
void _nc_Link_Items( |
| 147 |
MENU *menu) |
| 148 |
{ /* void */ } |
| 149 |
|
| 150 |
#undef _nc_Show_Menu |
| 151 |
void _nc_Show_Menu( |
| 152 |
const MENU *menu) |
| 153 |
{ /* void */ } |
| 154 |
|
| 155 |
#undef _nc_New_TopRow_and_CurrentItem |
| 156 |
void _nc_New_TopRow_and_CurrentItem( |
| 157 |
MENU *menu, |
| 158 |
int new_toprow, |
| 159 |
ITEM *new_current_item) |
| 160 |
{ /* void */ } |
| 161 |
|
| 162 |
/* ./m_hook.c */ |
| 163 |
|
| 164 |
#undef set_menu_init |
| 165 |
int set_menu_init( |
| 166 |
MENU *menu, |
| 167 |
Menu_Hook func) |
| 168 |
{ return(*(int *)0); } |
| 169 |
|
| 170 |
#undef menu_init |
| 171 |
Menu_Hook menu_init( |
| 172 |
const MENU *menu) |
| 173 |
{ return(*(Menu_Hook *)0); } |
| 174 |
|
| 175 |
#undef set_menu_term |
| 176 |
int set_menu_term( |
| 177 |
MENU *menu, |
| 178 |
Menu_Hook func) |
| 179 |
{ return(*(int *)0); } |
| 180 |
|
| 181 |
#undef menu_term |
| 182 |
Menu_Hook menu_term( |
| 183 |
const MENU *menu) |
| 184 |
{ return(*(Menu_Hook *)0); } |
| 185 |
|
| 186 |
#undef set_item_init |
| 187 |
int set_item_init( |
| 188 |
MENU *menu, |
| 189 |
Menu_Hook func) |
| 190 |
{ return(*(int *)0); } |
| 191 |
|
| 192 |
#undef item_init |
| 193 |
Menu_Hook item_init( |
| 194 |
const MENU *menu) |
| 195 |
{ return(*(Menu_Hook *)0); } |
| 196 |
|
| 197 |
#undef set_item_term |
| 198 |
int set_item_term( |
| 199 |
MENU *menu, |
| 200 |
Menu_Hook func) |
| 201 |
{ return(*(int *)0); } |
| 202 |
|
| 203 |
#undef item_term |
| 204 |
Menu_Hook item_term( |
| 205 |
const MENU *menu) |
| 206 |
{ return(*(Menu_Hook *)0); } |
| 207 |
|
| 208 |
/* ./m_item_cur.c */ |
| 209 |
|
| 210 |
#undef set_current_item |
| 211 |
int set_current_item( |
| 212 |
MENU *menu, |
| 213 |
ITEM *item) |
| 214 |
{ return(*(int *)0); } |
| 215 |
|
| 216 |
#undef current_item |
| 217 |
ITEM *current_item( |
| 218 |
const MENU *menu) |
| 219 |
{ return(*(ITEM **)0); } |
| 220 |
|
| 221 |
#undef item_index |
| 222 |
int item_index( |
| 223 |
const ITEM *item) |
| 224 |
{ return(*(int *)0); } |
| 225 |
|
| 226 |
/* ./m_item_nam.c */ |
| 227 |
|
| 228 |
#undef item_name |
| 229 |
const char *item_name( |
| 230 |
const ITEM *item) |
| 231 |
{ return(*(const char **)0); } |
| 232 |
|
| 233 |
#undef item_description |
| 234 |
const char *item_description( |
| 235 |
const ITEM *item) |
| 236 |
{ return(*(const char **)0); } |
| 237 |
|
| 238 |
/* ./m_item_new.c */ |
| 239 |
|
| 240 |
#include <wctype.h> |
| 241 |
|
| 242 |
#undef new_item |
| 243 |
ITEM *new_item( |
| 244 |
const char *name, |
| 245 |
const char *description) |
| 246 |
{ return(*(ITEM **)0); } |
| 247 |
|
| 248 |
#undef free_item |
| 249 |
int free_item( |
| 250 |
ITEM *item) |
| 251 |
{ return(*(int *)0); } |
| 252 |
|
| 253 |
#undef set_menu_mark |
| 254 |
int set_menu_mark( |
| 255 |
MENU *menu, |
| 256 |
const char *mark) |
| 257 |
{ return(*(int *)0); } |
| 258 |
|
| 259 |
#undef menu_mark |
| 260 |
const char *menu_mark( |
| 261 |
const MENU *menu) |
| 262 |
{ return(*(const char **)0); } |
| 263 |
|
| 264 |
/* ./m_item_opt.c */ |
| 265 |
|
| 266 |
#undef set_item_opts |
| 267 |
int set_item_opts( |
| 268 |
ITEM *item, |
| 269 |
Item_Options opts) |
| 270 |
{ return(*(int *)0); } |
| 271 |
|
| 272 |
#undef item_opts_off |
| 273 |
int item_opts_off( |
| 274 |
ITEM *item, |
| 275 |
Item_Options opts) |
| 276 |
{ return(*(int *)0); } |
| 277 |
|
| 278 |
#undef item_opts_on |
| 279 |
int item_opts_on( |
| 280 |
ITEM *item, |
| 281 |
Item_Options opts) |
| 282 |
{ return(*(int *)0); } |
| 283 |
|
| 284 |
#undef item_opts |
| 285 |
Item_Options item_opts( |
| 286 |
const ITEM *item) |
| 287 |
{ return(*(Item_Options *)0); } |
| 288 |
|
| 289 |
/* ./m_item_top.c */ |
| 290 |
|
| 291 |
#undef set_top_row |
| 292 |
int set_top_row( |
| 293 |
MENU *menu, |
| 294 |
int row) |
| 295 |
{ return(*(int *)0); } |
| 296 |
|
| 297 |
#undef top_row |
| 298 |
int top_row( |
| 299 |
const MENU *menu) |
| 300 |
{ return(*(int *)0); } |
| 301 |
|
| 302 |
/* ./m_item_use.c */ |
| 303 |
|
| 304 |
#undef set_item_userptr |
| 305 |
int set_item_userptr( |
| 306 |
ITEM *item, |
| 307 |
void *userptr) |
| 308 |
{ return(*(int *)0); } |
| 309 |
|
| 310 |
#undef item_userptr |
| 311 |
void *item_userptr( |
| 312 |
const ITEM *item) |
| 313 |
{ return(*(void **)0); } |
| 314 |
|
| 315 |
/* ./m_item_val.c */ |
| 316 |
|
| 317 |
#undef set_item_value |
| 318 |
int set_item_value( |
| 319 |
ITEM *item, |
| 320 |
NCURSES_BOOL value) |
| 321 |
{ return(*(int *)0); } |
| 322 |
|
| 323 |
#undef item_value |
| 324 |
NCURSES_BOOL item_value( |
| 325 |
const ITEM *item) |
| 326 |
{ return(*(NCURSES_BOOL *)0); } |
| 327 |
|
| 328 |
/* ./m_item_vis.c */ |
| 329 |
|
| 330 |
#undef item_visible |
| 331 |
NCURSES_BOOL item_visible( |
| 332 |
const ITEM *item) |
| 333 |
{ return(*(NCURSES_BOOL *)0); } |
| 334 |
|
| 335 |
/* ./m_items.c */ |
| 336 |
|
| 337 |
#undef set_menu_items |
| 338 |
int set_menu_items( |
| 339 |
MENU *menu, |
| 340 |
ITEM **items) |
| 341 |
{ return(*(int *)0); } |
| 342 |
|
| 343 |
#undef menu_items |
| 344 |
ITEM **menu_items( |
| 345 |
const MENU *menu) |
| 346 |
{ return(*(ITEM ***)0); } |
| 347 |
|
| 348 |
#undef item_count |
| 349 |
int item_count( |
| 350 |
const MENU *menu) |
| 351 |
{ return(*(int *)0); } |
| 352 |
|
| 353 |
/* ./m_new.c */ |
| 354 |
|
| 355 |
#undef new_menu_sp |
| 356 |
MENU *new_menu_sp( |
| 357 |
SCREEN *sp, |
| 358 |
ITEM **items) |
| 359 |
{ return(*(MENU **)0); } |
| 360 |
|
| 361 |
#undef new_menu |
| 362 |
MENU *new_menu( |
| 363 |
ITEM **items) |
| 364 |
{ return(*(MENU **)0); } |
| 365 |
|
| 366 |
#undef free_menu |
| 367 |
int free_menu( |
| 368 |
MENU *menu) |
| 369 |
{ return(*(int *)0); } |
| 370 |
|
| 371 |
/* ./m_opts.c */ |
| 372 |
|
| 373 |
#undef set_menu_opts |
| 374 |
int set_menu_opts( |
| 375 |
MENU *menu, |
| 376 |
Menu_Options opts) |
| 377 |
{ return(*(int *)0); } |
| 378 |
|
| 379 |
#undef menu_opts_off |
| 380 |
int menu_opts_off( |
| 381 |
MENU *menu, |
| 382 |
Menu_Options opts) |
| 383 |
{ return(*(int *)0); } |
| 384 |
|
| 385 |
#undef menu_opts_on |
| 386 |
int menu_opts_on( |
| 387 |
MENU *menu, |
| 388 |
Menu_Options opts) |
| 389 |
{ return(*(int *)0); } |
| 390 |
|
| 391 |
#undef menu_opts |
| 392 |
Menu_Options menu_opts( |
| 393 |
const MENU *menu) |
| 394 |
{ return(*(Menu_Options *)0); } |
| 395 |
|
| 396 |
/* ./m_pad.c */ |
| 397 |
|
| 398 |
#undef set_menu_pad |
| 399 |
int set_menu_pad( |
| 400 |
MENU *menu, |
| 401 |
int pad) |
| 402 |
{ return(*(int *)0); } |
| 403 |
|
| 404 |
#undef menu_pad |
| 405 |
int menu_pad( |
| 406 |
const MENU *menu) |
| 407 |
{ return(*(int *)0); } |
| 408 |
|
| 409 |
/* ./m_pattern.c */ |
| 410 |
|
| 411 |
#undef menu_pattern |
| 412 |
char *menu_pattern( |
| 413 |
const MENU *menu) |
| 414 |
{ return(*(char **)0); } |
| 415 |
|
| 416 |
#undef set_menu_pattern |
| 417 |
int set_menu_pattern( |
| 418 |
MENU *menu, |
| 419 |
const char *p) |
| 420 |
{ return(*(int *)0); } |
| 421 |
|
| 422 |
/* ./m_post.c */ |
| 423 |
|
| 424 |
#undef _nc_Post_Item |
| 425 |
void _nc_Post_Item( |
| 426 |
const MENU *menu, |
| 427 |
const ITEM *item) |
| 428 |
{ /* void */ } |
| 429 |
|
| 430 |
#undef _nc_Draw_Menu |
| 431 |
void _nc_Draw_Menu( |
| 432 |
const MENU *menu) |
| 433 |
{ /* void */ } |
| 434 |
|
| 435 |
#undef post_menu |
| 436 |
int post_menu( |
| 437 |
MENU *menu) |
| 438 |
{ return(*(int *)0); } |
| 439 |
|
| 440 |
#undef unpost_menu |
| 441 |
int unpost_menu( |
| 442 |
MENU *menu) |
| 443 |
{ return(*(int *)0); } |
| 444 |
|
| 445 |
/* ./m_req_name.c */ |
| 446 |
|
| 447 |
#undef menu_request_name |
| 448 |
const char *menu_request_name( |
| 449 |
int request) |
| 450 |
{ return(*(const char **)0); } |
| 451 |
|
| 452 |
#undef menu_request_by_name |
| 453 |
int menu_request_by_name( |
| 454 |
const char *str) |
| 455 |
{ return(*(int *)0); } |
| 456 |
|
| 457 |
/* ./m_scale.c */ |
| 458 |
|
| 459 |
#undef scale_menu |
| 460 |
int scale_menu( |
| 461 |
const MENU *menu, |
| 462 |
int *rows, |
| 463 |
int *cols) |
| 464 |
{ return(*(int *)0); } |
| 465 |
|
| 466 |
/* ./m_spacing.c */ |
| 467 |
|
| 468 |
#undef set_menu_spacing |
| 469 |
int set_menu_spacing( |
| 470 |
MENU *menu, |
| 471 |
int s_desc, |
| 472 |
int s_row, |
| 473 |
int s_col) |
| 474 |
{ return(*(int *)0); } |
| 475 |
|
| 476 |
#undef menu_spacing |
| 477 |
int menu_spacing( |
| 478 |
const MENU *menu, |
| 479 |
int *s_desc, |
| 480 |
int *s_row, |
| 481 |
int *s_col) |
| 482 |
{ return(*(int *)0); } |
| 483 |
|
| 484 |
/* ./m_sub.c */ |
| 485 |
|
| 486 |
#undef set_menu_sub |
| 487 |
int set_menu_sub( |
| 488 |
MENU *menu, |
| 489 |
WINDOW *win) |
| 490 |
{ return(*(int *)0); } |
| 491 |
|
| 492 |
#undef menu_sub |
| 493 |
WINDOW *menu_sub( |
| 494 |
const MENU *menu) |
| 495 |
{ return(*(WINDOW **)0); } |
| 496 |
|
| 497 |
/* ./m_trace.c */ |
| 498 |
|
| 499 |
#undef _nc_retrace_item |
| 500 |
ITEM *_nc_retrace_item( |
| 501 |
ITEM *code) |
| 502 |
{ return(*(ITEM **)0); } |
| 503 |
|
| 504 |
#undef _nc_retrace_item_ptr |
| 505 |
ITEM **_nc_retrace_item_ptr( |
| 506 |
ITEM **code) |
| 507 |
{ return(*(ITEM ***)0); } |
| 508 |
|
| 509 |
#undef _nc_retrace_item_opts |
| 510 |
Item_Options _nc_retrace_item_opts( |
| 511 |
Item_Options code) |
| 512 |
{ return(*(Item_Options *)0); } |
| 513 |
|
| 514 |
#undef _nc_retrace_menu |
| 515 |
MENU *_nc_retrace_menu( |
| 516 |
MENU *code) |
| 517 |
{ return(*(MENU **)0); } |
| 518 |
|
| 519 |
#undef _nc_retrace_menu_hook |
| 520 |
Menu_Hook _nc_retrace_menu_hook( |
| 521 |
Menu_Hook code) |
| 522 |
{ return(*(Menu_Hook *)0); } |
| 523 |
|
| 524 |
#undef _nc_retrace_menu_opts |
| 525 |
Menu_Options _nc_retrace_menu_opts( |
| 526 |
Menu_Options code) |
| 527 |
{ return(*(Menu_Options *)0); } |
| 528 |
|
| 529 |
/* ./m_userptr.c */ |
| 530 |
|
| 531 |
#undef set_menu_userptr |
| 532 |
int set_menu_userptr( |
| 533 |
MENU *menu, |
| 534 |
void *userptr) |
| 535 |
{ return(*(int *)0); } |
| 536 |
|
| 537 |
#undef menu_userptr |
| 538 |
void *menu_userptr( |
| 539 |
const MENU *menu) |
| 540 |
{ return(*(void **)0); } |
| 541 |
|
| 542 |
/* ./m_win.c */ |
| 543 |
|
| 544 |
#undef set_menu_win |
| 545 |
int set_menu_win( |
| 546 |
MENU *menu, |
| 547 |
WINDOW *win) |
| 548 |
{ return(*(int *)0); } |
| 549 |
|
| 550 |
#undef menu_win |
| 551 |
WINDOW *menu_win( |
| 552 |
const MENU *menu) |
| 553 |
{ return(*(WINDOW **)0); } |