mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / payloads / libpayload / curses / form / llib-lform
blob670cd720bccd4919fba53258b6db9531fa4f2026
1 /****************************************************************************
2  * Copyright (c) 1998-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  ****************************************************************************/
29 /****************************************************************************
30  *  Author: Thomas E. Dickey       1996-2005,2010                           *
31  ****************************************************************************/
32 /* LINTLIBRARY */
34 /* ./f_trace.c */
36 #include <form.priv.h>
38 #undef _nc_retrace_field_ptr
39 FIELD   **_nc_retrace_field_ptr(
40                 FIELD   **code)
41                 { return(*(FIELD ***)0); }
43 #undef _nc_retrace_field
44 FIELD   *_nc_retrace_field(
45                 FIELD   *code)
46                 { return(*(FIELD **)0); }
48 #undef _nc_retrace_field_type
49 FIELDTYPE *_nc_retrace_field_type(
50                 FIELDTYPE *code)
51                 { return(*(FIELDTYPE **)0); }
53 #undef _nc_retrace_form
54 FORM    *_nc_retrace_form(
55                 FORM    *code)
56                 { return(*(FORM **)0); }
58 #undef _nc_retrace_form_hook
59 Form_Hook _nc_retrace_form_hook(
60                 Form_Hook code)
61                 { return(*(Form_Hook *)0); }
63 /* ./fld_arg.c */
65 #undef set_fieldtype_arg
66 int     set_fieldtype_arg(
67                 FIELDTYPE *typ,
68                 void    *(*const make_arg)(
69                 va_list *p1),
70                 void    *(*const copy_arg)(
71                 const void *p1),
72                 void    (*const free_arg)(
73                 void    *p1))
74                 { return(*(int *)0); }
76 #undef field_arg
77 void    *field_arg(
78                 const FIELD *field)
79                 { return(*(void **)0); }
81 /* ./fld_attr.c */
83 #undef set_field_fore
84 int     set_field_fore(
85                 FIELD   *field,
86                 chtype  attr)
87                 { return(*(int *)0); }
89 #undef field_fore
90 chtype  field_fore(
91                 const FIELD *field)
92                 { return(*(chtype *)0); }
94 #undef set_field_back
95 int     set_field_back(
96                 FIELD   *field,
97                 chtype  attr)
98                 { return(*(int *)0); }
100 #undef field_back
101 chtype  field_back(
102                 const FIELD *field)
103                 { return(*(chtype *)0); }
105 /* ./fld_current.c */
107 #undef set_current_field
108 int     set_current_field(
109                 FORM    *form,
110                 FIELD   *field)
111                 { return(*(int *)0); }
113 #undef current_field
114 FIELD   *current_field(
115                 const FORM *form)
116                 { return(*(FIELD **)0); }
118 #undef field_index
119 int     field_index(
120                 const FIELD *field)
121                 { return(*(int *)0); }
123 /* ./fld_def.c */
125 #undef _nc_Default_Field
126 FIELD   *_nc_Default_Field;
128 #undef _nc_Make_Argument
129 TypeArgument *_nc_Make_Argument(
130                 const FIELDTYPE *typ,
131                 va_list *ap,
132                 int     *err)
133                 { return(*(TypeArgument **)0); }
135 #undef _nc_Copy_Argument
136 TypeArgument *_nc_Copy_Argument(
137                 const FIELDTYPE *typ,
138                 const TypeArgument *argp,
139                 int     *err)
140                 { return(*(TypeArgument **)0); }
142 #undef _nc_Free_Argument
143 void    _nc_Free_Argument(
144                 const FIELDTYPE *typ,
145                 TypeArgument *argp)
146                 { /* void */ }
148 #undef _nc_Copy_Type
149 NCURSES_BOOL _nc_Copy_Type(
150                 FIELD   *dst,
151                 FIELD const *src)
152                 { return(*(NCURSES_BOOL *)0); }
154 #undef _nc_Free_Type
155 void    _nc_Free_Type(
156                 FIELD   *field)
157                 { /* void */ }
159 #undef new_field
160 FIELD   *new_field(
161                 int     rows,
162                 int     cols,
163                 int     frow,
164                 int     fcol,
165                 int     nrow,
166                 int     nbuf)
167                 { return(*(FIELD **)0); }
169 #undef free_field
170 int     free_field(
171                 FIELD   *field)
172                 { return(*(int *)0); }
174 /* ./fld_dup.c */
176 #undef dup_field
177 FIELD   *dup_field(
178                 FIELD   *field,
179                 int     frow,
180                 int     fcol)
181                 { return(*(FIELD **)0); }
183 /* ./fld_ftchoice.c */
185 #undef set_fieldtype_choice
186 int     set_fieldtype_choice(
187                 FIELDTYPE *typ,
188                 NCURSES_BOOL (*const next_choice)(
189                 FIELD   *p1,
190                 const void *p2),
191                 NCURSES_BOOL (*const prev_choice)(
192                 FIELD   *p1,
193                 const void *p2))
194                 { return(*(int *)0); }
196 /* ./fld_ftlink.c */
198 #undef link_fieldtype
199 FIELDTYPE *link_fieldtype(
200                 FIELDTYPE *type1,
201                 FIELDTYPE *type2)
202                 { return(*(FIELDTYPE **)0); }
204 /* ./fld_info.c */
206 #undef field_info
207 int     field_info(
208                 const FIELD *field,
209                 int     *rows,
210                 int     *cols,
211                 int     *frow,
212                 int     *fcol,
213                 int     *nrow,
214                 int     *nbuf)
215                 { return(*(int *)0); }
217 #undef dynamic_field_info
218 int     dynamic_field_info(
219                 const FIELD *field,
220                 int     *drows,
221                 int     *dcols,
222                 int     *maxgrow)
223                 { return(*(int *)0); }
225 /* ./fld_just.c */
227 #undef set_field_just
228 int     set_field_just(
229                 FIELD   *field,
230                 int     just)
231                 { return(*(int *)0); }
233 #undef field_just
234 int     field_just(
235                 const FIELD *field)
236                 { return(*(int *)0); }
238 /* ./fld_link.c */
240 #undef link_field
241 FIELD   *link_field(
242                 FIELD   *field,
243                 int     frow,
244                 int     fcol)
245                 { return(*(FIELD **)0); }
247 /* ./fld_max.c */
249 #undef set_max_field
250 int     set_max_field(
251                 FIELD   *field,
252                 int     maxgrow)
253                 { return(*(int *)0); }
255 /* ./fld_move.c */
257 #undef move_field
258 int     move_field(
259                 FIELD   *field,
260                 int     frow,
261                 int     fcol)
262                 { return(*(int *)0); }
264 /* ./fld_newftyp.c */
266 #undef _nc_Default_FieldType
267 FIELDTYPE *_nc_Default_FieldType;
269 #undef new_fieldtype
270 FIELDTYPE *new_fieldtype(
271                 NCURSES_BOOL (*const field_check)(
272                 FIELD   *p1,
273                 const void *p2),
274                 NCURSES_BOOL (*const char_check)(
275                 int     p1,
276                 const void *p2))
277                 { return(*(FIELDTYPE **)0); }
279 #undef free_fieldtype
280 int     free_fieldtype(
281                 FIELDTYPE *typ)
282                 { return(*(int *)0); }
284 /* ./fld_opts.c */
286 #undef set_field_opts
287 int     set_field_opts(
288                 FIELD   *field,
289                 Field_Options opts)
290                 { return(*(int *)0); }
292 #undef field_opts
293 Field_Options field_opts(
294                 const FIELD *field)
295                 { return(*(Field_Options *)0); }
297 #undef field_opts_on
298 int     field_opts_on(
299                 FIELD   *field,
300                 Field_Options opts)
301                 { return(*(int *)0); }
303 #undef field_opts_off
304 int     field_opts_off(
305                 FIELD   *field,
306                 Field_Options opts)
307                 { return(*(int *)0); }
309 /* ./fld_pad.c */
311 #undef set_field_pad
312 int     set_field_pad(
313                 FIELD   *field,
314                 int     ch)
315                 { return(*(int *)0); }
317 #undef field_pad
318 int     field_pad(
319                 const FIELD *field)
320                 { return(*(int *)0); }
322 /* ./fld_page.c */
324 #undef set_new_page
325 int     set_new_page(
326                 FIELD   *field,
327                 NCURSES_BOOL new_page_flag)
328                 { return(*(int *)0); }
330 #undef new_page
331 NCURSES_BOOL new_page(
332                 const FIELD *field)
333                 { return(*(NCURSES_BOOL *)0); }
335 /* ./fld_stat.c */
337 #undef set_field_status
338 int     set_field_status(
339                 FIELD   *field,
340                 NCURSES_BOOL status)
341                 { return(*(int *)0); }
343 #undef field_status
344 NCURSES_BOOL field_status(
345                 const FIELD *field)
346                 { return(*(NCURSES_BOOL *)0); }
348 /* ./fld_type.c */
350 #undef set_field_type
351 int     set_field_type(
352                 FIELD   *field,
353                 FIELDTYPE *type,
354                 ...)
355                 { return(*(int *)0); }
357 #undef field_type
358 FIELDTYPE *field_type(
359                 const FIELD *field)
360                 { return(*(FIELDTYPE **)0); }
362 /* ./fld_user.c */
364 #undef set_field_userptr
365 int     set_field_userptr(
366                 FIELD   *field,
367                 void    *usrptr)
368                 { return(*(int *)0); }
370 #undef field_userptr
371 void    *field_userptr(
372                 const FIELD *field)
373                 { return(*(void **)0); }
375 /* ./frm_cursor.c */
377 #undef pos_form_cursor
378 int     pos_form_cursor(
379                 FORM    *form)
380                 { return(*(int *)0); }
382 /* ./frm_data.c */
384 #undef data_behind
385 NCURSES_BOOL data_behind(
386                 const FORM *form)
387                 { return(*(NCURSES_BOOL *)0); }
389 #undef data_ahead
390 NCURSES_BOOL data_ahead(
391                 const FORM *form)
392                 { return(*(NCURSES_BOOL *)0); }
394 /* ./frm_def.c */
396 #undef _nc_Default_Form
397 FORM    *_nc_Default_Form;
399 #undef new_form_sp
400 FORM    *new_form_sp(
401                 SCREEN  *sp,
402                 FIELD   **fields)
403                 { return(*(FORM **)0); }
405 #undef new_form
406 FORM    *new_form(
407                 FIELD   **fields)
408                 { return(*(FORM **)0); }
410 #undef free_form
411 int     free_form(
412                 FORM    *form)
413                 { return(*(int *)0); }
415 #undef set_form_fields
416 int     set_form_fields(
417                 FORM    *form,
418                 FIELD   **fields)
419                 { return(*(int *)0); }
421 #undef form_fields
422 FIELD   **form_fields(
423                 const FORM *form)
424                 { return(*(FIELD ***)0); }
426 #undef field_count
427 int     field_count(
428                 const FORM *form)
429                 { return(*(int *)0); }
431 /* ./frm_driver.c */
433 #undef _nc_get_fieldbuffer
434 void    _nc_get_fieldbuffer(
435                 FORM    *form,
436                 FIELD   *field,
437                 char    *buf)
438                 { /* void */ }
440 #undef _nc_Position_Form_Cursor
441 int     _nc_Position_Form_Cursor(
442                 FORM    *form)
443                 { return(*(int *)0); }
445 #undef _nc_Refresh_Current_Field
446 int     _nc_Refresh_Current_Field(
447                 FORM    *form)
448                 { return(*(int *)0); }
450 #undef _nc_Synchronize_Attributes
451 int     _nc_Synchronize_Attributes(
452                 FIELD   *field)
453                 { return(*(int *)0); }
455 #undef _nc_Synchronize_Options
456 int     _nc_Synchronize_Options(
457                 FIELD   *field,
458                 Field_Options newopts)
459                 { return(*(int *)0); }
461 #undef _nc_Set_Current_Field
462 int     _nc_Set_Current_Field(
463                 FORM    *form,
464                 FIELD   *newfield)
465                 { return(*(int *)0); }
467 #undef _nc_Internal_Validation
468 NCURSES_BOOL _nc_Internal_Validation(
469                 FORM    *form)
470                 { return(*(NCURSES_BOOL *)0); }
472 #undef _nc_First_Active_Field
473 FIELD   *_nc_First_Active_Field(
474                 FORM    *form)
475                 { return(*(FIELD **)0); }
477 #undef _nc_Set_Form_Page
478 int     _nc_Set_Form_Page(
479                 FORM    *form,
480                 int     page,
481                 FIELD   *field)
482                 { return(*(int *)0); }
484 typedef struct
486   int keycode;
487   int (*cmd) (FORM *);
489 Binding_Info;
491 #undef form_driver
492 int     form_driver(
493                 FORM    *form,
494                 int     c)
495                 { return(*(int *)0); }
497 #undef set_field_buffer
498 int     set_field_buffer(
499                 FIELD   *field,
500                 int     buffer,
501                 const char *value)
502                 { return(*(int *)0); }
504 #undef field_buffer
505 char    *field_buffer(
506                 const FIELD *field,
507                 int     buffer)
508                 { return(*(char **)0); }
510 /* ./frm_hook.c */
512 #undef set_field_init
513 int     set_field_init(
514                 FORM    *form,
515                 Form_Hook func)
516                 { return(*(int *)0); }
518 #undef field_init
519 Form_Hook field_init(
520                 const FORM *form)
521                 { return(*(Form_Hook *)0); }
523 #undef set_field_term
524 int     set_field_term(
525                 FORM    *form,
526                 Form_Hook func)
527                 { return(*(int *)0); }
529 #undef field_term
530 Form_Hook field_term(
531                 const FORM *form)
532                 { return(*(Form_Hook *)0); }
534 #undef set_form_init
535 int     set_form_init(
536                 FORM    *form,
537                 Form_Hook func)
538                 { return(*(int *)0); }
540 #undef form_init
541 Form_Hook form_init(
542                 const FORM *form)
543                 { return(*(Form_Hook *)0); }
545 #undef set_form_term
546 int     set_form_term(
547                 FORM    *form,
548                 Form_Hook func)
549                 { return(*(int *)0); }
551 #undef form_term
552 Form_Hook form_term(
553                 const FORM *form)
554                 { return(*(Form_Hook *)0); }
556 /* ./frm_opts.c */
558 #undef set_form_opts
559 int     set_form_opts(
560                 FORM    *form,
561                 Form_Options opts)
562                 { return(*(int *)0); }
564 #undef form_opts
565 Form_Options form_opts(
566                 const FORM *form)
567                 { return(*(Form_Options *)0); }
569 #undef form_opts_on
570 int     form_opts_on(
571                 FORM    *form,
572                 Form_Options opts)
573                 { return(*(int *)0); }
575 #undef form_opts_off
576 int     form_opts_off(
577                 FORM    *form,
578                 Form_Options opts)
579                 { return(*(int *)0); }
581 /* ./frm_page.c */
583 #undef set_form_page
584 int     set_form_page(
585                 FORM    *form,
586                 int     page)
587                 { return(*(int *)0); }
589 #undef form_page
590 int     form_page(
591                 const FORM *form)
592                 { return(*(int *)0); }
594 /* ./frm_post.c */
596 #undef post_form
597 int     post_form(
598                 FORM    *form)
599                 { return(*(int *)0); }
601 #undef unpost_form
602 int     unpost_form(
603                 FORM    *form)
604                 { return(*(int *)0); }
606 /* ./frm_req_name.c */
608 #undef form_request_name
609 const char *form_request_name(
610                 int     request)
611                 { return(*(const char **)0); }
613 #undef form_request_by_name
614 int     form_request_by_name(
615                 const char *str)
616                 { return(*(int *)0); }
618 /* ./frm_scale.c */
620 #undef scale_form
621 int     scale_form(
622                 const FORM *form,
623                 int     *rows,
624                 int     *cols)
625                 { return(*(int *)0); }
627 /* ./frm_sub.c */
629 #undef set_form_sub
630 int     set_form_sub(
631                 FORM    *form,
632                 WINDOW  *win)
633                 { return(*(int *)0); }
635 #undef form_sub
636 WINDOW  *form_sub(
637                 const FORM *form)
638                 { return(*(WINDOW **)0); }
640 /* ./frm_user.c */
642 #undef set_form_userptr
643 int     set_form_userptr(
644                 FORM    *form,
645                 void    *usrptr)
646                 { return(*(int *)0); }
648 #undef form_userptr
649 void    *form_userptr(
650                 const FORM *form)
651                 { return(*(void **)0); }
653 /* ./frm_win.c */
655 #undef set_form_win
656 int     set_form_win(
657                 FORM    *form,
658                 WINDOW  *win)
659                 { return(*(int *)0); }
661 #undef form_win
662 WINDOW  *form_win(
663                 const FORM *form)
664                 { return(*(WINDOW **)0); }
666 /* ./fty_alnum.c */
668 typedef struct
669   {
670     int width;
671   }
672 alnumARG;
674 #undef TYPE_ALNUM
675 FIELDTYPE *TYPE_ALNUM;
677 /* ./fty_alpha.c */
679 typedef struct
680   {
681     int width;
682   }
683 alphaARG;
685 #undef TYPE_ALPHA
686 FIELDTYPE *TYPE_ALPHA;
688 /* ./fty_enum.c */
690 typedef struct
691   {
692     char **kwds;
693     int count;
694     NCURSES_BOOL checkcase;
695     NCURSES_BOOL checkunique;
696   }
697 enumARG;
699 typedef struct
700   {
701     char **kwds;
702     int ccase;
703     int cunique;
704   }
705 enumParams;
707 #undef TYPE_ENUM
708 FIELDTYPE *TYPE_ENUM;
710 /* ./fty_generic.c */
712 #undef _nc_fty_generic
713 void    _nc_fty_generic(void)
714                 { /* void */ }
716 /* ./fty_int.c */
718 typedef struct
719   {
720     int precision;
721     long low;
722     long high;
723   }
724 integerARG;
726 typedef struct
727   {
728     int precision;
729     long low;
730     long high;
731   }
732 integerPARM;
734 #undef TYPE_INTEGER
735 FIELDTYPE *TYPE_INTEGER;
737 /* ./fty_ipv4.c */
738 #undef TYPE_IPV4
739 FIELDTYPE *TYPE_IPV4;
741 /* ./fty_num.c */
743 #include <locale.h>
745 typedef struct
746   {
747     int precision;
748     double low;
749     double high;
750     struct lconv *L;
751   }
752 numericARG;
754 typedef struct
755   {
756     int precision;
757     double low;
758     double high;
759   }
760 thisPARM;
762 #undef TYPE_NUMERIC
763 FIELDTYPE *TYPE_NUMERIC;
765 /* ./fty_regex.c */
767 #include <regex.h>
769 typedef struct
770   {
771     regex_t *pRegExp;
772     unsigned long *refCount;
773   }
774 RegExp_Arg;
776 #undef TYPE_REGEXP
777 FIELDTYPE *TYPE_REGEXP;