Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | * Copyright (c) 2002,2005 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 * |
| 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 |
| 356 | MENU *new_menu( |
| 357 | ITEM **items) |
| 358 | { return(*(MENU **)0); } |
| 359 | |
| 360 | #undef free_menu |
| 361 | int free_menu( |
| 362 | MENU *menu) |
| 363 | { return(*(int *)0); } |
| 364 | |
| 365 | /* ./m_opts.c */ |
| 366 | |
| 367 | #undef set_menu_opts |
| 368 | int set_menu_opts( |
| 369 | MENU *menu, |
| 370 | Menu_Options opts) |
| 371 | { return(*(int *)0); } |
| 372 | |
| 373 | #undef menu_opts_off |
| 374 | int menu_opts_off( |
| 375 | MENU *menu, |
| 376 | Menu_Options opts) |
| 377 | { return(*(int *)0); } |
| 378 | |
| 379 | #undef menu_opts_on |
| 380 | int menu_opts_on( |
| 381 | MENU *menu, |
| 382 | Menu_Options opts) |
| 383 | { return(*(int *)0); } |
| 384 | |
| 385 | #undef menu_opts |
| 386 | Menu_Options menu_opts( |
| 387 | const MENU *menu) |
| 388 | { return(*(Menu_Options *)0); } |
| 389 | |
| 390 | /* ./m_pad.c */ |
| 391 | |
| 392 | #undef set_menu_pad |
| 393 | int set_menu_pad( |
| 394 | MENU *menu, |
| 395 | int pad) |
| 396 | { return(*(int *)0); } |
| 397 | |
| 398 | #undef menu_pad |
| 399 | int menu_pad( |
| 400 | const MENU *menu) |
| 401 | { return(*(int *)0); } |
| 402 | |
| 403 | /* ./m_pattern.c */ |
| 404 | |
| 405 | #undef menu_pattern |
| 406 | char *menu_pattern( |
| 407 | const MENU *menu) |
| 408 | { return(*(char **)0); } |
| 409 | |
| 410 | #undef set_menu_pattern |
| 411 | int set_menu_pattern( |
| 412 | MENU *menu, |
| 413 | const char *p) |
| 414 | { return(*(int *)0); } |
| 415 | |
| 416 | /* ./m_post.c */ |
| 417 | |
| 418 | #undef _nc_Post_Item |
| 419 | void _nc_Post_Item( |
| 420 | const MENU *menu, |
| 421 | const ITEM *item) |
| 422 | { /* void */ } |
| 423 | |
| 424 | #undef _nc_Draw_Menu |
| 425 | void _nc_Draw_Menu( |
| 426 | const MENU *menu) |
| 427 | { /* void */ } |
| 428 | |
| 429 | #undef post_menu |
| 430 | int post_menu( |
| 431 | MENU *menu) |
| 432 | { return(*(int *)0); } |
| 433 | |
| 434 | #undef unpost_menu |
| 435 | int unpost_menu( |
| 436 | MENU *menu) |
| 437 | { return(*(int *)0); } |
| 438 | |
| 439 | /* ./m_req_name.c */ |
| 440 | |
| 441 | #undef menu_request_name |
| 442 | const char *menu_request_name( |
| 443 | int request) |
| 444 | { return(*(const char **)0); } |
| 445 | |
| 446 | #undef menu_request_by_name |
| 447 | int menu_request_by_name( |
| 448 | const char *str) |
| 449 | { return(*(int *)0); } |
| 450 | |
| 451 | /* ./m_scale.c */ |
| 452 | |
| 453 | #undef scale_menu |
| 454 | int scale_menu( |
| 455 | const MENU *menu, |
| 456 | int *rows, |
| 457 | int *cols) |
| 458 | { return(*(int *)0); } |
| 459 | |
| 460 | /* ./m_spacing.c */ |
| 461 | |
| 462 | #undef set_menu_spacing |
| 463 | int set_menu_spacing( |
| 464 | MENU *menu, |
| 465 | int s_desc, |
| 466 | int s_row, |
| 467 | int s_col) |
| 468 | { return(*(int *)0); } |
| 469 | |
| 470 | #undef menu_spacing |
| 471 | int menu_spacing( |
| 472 | const MENU *menu, |
| 473 | int *s_desc, |
| 474 | int *s_row, |
| 475 | int *s_col) |
| 476 | { return(*(int *)0); } |
| 477 | |
| 478 | /* ./m_sub.c */ |
| 479 | |
| 480 | #undef set_menu_sub |
| 481 | int set_menu_sub( |
| 482 | MENU *menu, |
| 483 | WINDOW *win) |
| 484 | { return(*(int *)0); } |
| 485 | |
| 486 | #undef menu_sub |
| 487 | WINDOW *menu_sub( |
| 488 | const MENU *menu) |
| 489 | { return(*(WINDOW **)0); } |
| 490 | |
| 491 | /* ./m_trace.c */ |
| 492 | |
| 493 | #undef _nc_retrace_item |
| 494 | ITEM *_nc_retrace_item( |
| 495 | ITEM *code) |
| 496 | { return(*(ITEM **)0); } |
| 497 | |
| 498 | #undef _nc_retrace_item_ptr |
| 499 | ITEM **_nc_retrace_item_ptr( |
| 500 | ITEM **code) |
| 501 | { return(*(ITEM ***)0); } |
| 502 | |
| 503 | #undef _nc_retrace_item_opts |
| 504 | Item_Options _nc_retrace_item_opts( |
| 505 | Item_Options code) |
| 506 | { return(*(Item_Options *)0); } |
| 507 | |
| 508 | #undef _nc_retrace_menu |
| 509 | MENU *_nc_retrace_menu( |
| 510 | MENU *code) |
| 511 | { return(*(MENU **)0); } |
| 512 | |
| 513 | #undef _nc_retrace_menu_hook |
| 514 | Menu_Hook _nc_retrace_menu_hook( |
| 515 | Menu_Hook code) |
| 516 | { return(*(Menu_Hook *)0); } |
| 517 | |
| 518 | #undef _nc_retrace_menu_opts |
| 519 | Menu_Options _nc_retrace_menu_opts( |
| 520 | Menu_Options code) |
| 521 | { return(*(Menu_Options *)0); } |
| 522 | |
| 523 | /* ./m_userptr.c */ |
| 524 | |
| 525 | #undef set_menu_userptr |
| 526 | int set_menu_userptr( |
| 527 | MENU *menu, |
| 528 | void *userptr) |
| 529 | { return(*(int *)0); } |
| 530 | |
| 531 | #undef menu_userptr |
| 532 | void *menu_userptr( |
| 533 | const MENU *menu) |
| 534 | { return(*(void **)0); } |
| 535 | |
| 536 | /* ./m_win.c */ |
| 537 | |
| 538 | #undef set_menu_win |
| 539 | int set_menu_win( |
| 540 | MENU *menu, |
| 541 | WINDOW *win) |
| 542 | { return(*(int *)0); } |
| 543 | |
| 544 | #undef menu_win |
| 545 | WINDOW *menu_win( |
| 546 | const MENU *menu) |
| 547 | { return(*(WINDOW **)0); } |