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