?? llib-lform
字號:
/**************************************************************************** * Copyright (c) 1998,2002 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************//**************************************************************************** * Author: Thomas E. Dickey <dickey@clark.net> 1996,1997,2002 * ****************************************************************************//* LINTLIBRARY *//* ./fld_arg.c */#include "form.priv.h"#undef set_fieldtype_argint set_fieldtype_arg( FIELDTYPE *typ, void *(*const make_arg)( va_list *p1), void *(*const copy_arg)( const void *p1), void (*const free_arg)( void *p1)) { return(*(int *)0); }#undef field_argvoid *field_arg( const FIELD *field) { return(*(void **)0); }/* ./fld_attr.c */#undef set_field_foreint set_field_fore( FIELD *field, chtype attr) { return(*(int *)0); }#undef field_forechtype field_fore( const FIELD *field) { return(*(chtype *)0); }#undef set_field_backint set_field_back( FIELD *field, chtype attr) { return(*(int *)0); }#undef field_backchtype field_back( const FIELD *field) { return(*(chtype *)0); }/* ./fld_current.c */#undef set_current_fieldint set_current_field( FORM *form, FIELD *field) { return(*(int *)0); }#undef current_fieldFIELD *current_field( const FORM *form) { return(*(FIELD **)0); }#undef field_indexint field_index( const FIELD *field) { return(*(int *)0); }/* ./fld_def.c */#undef _nc_Default_FieldFIELD *_nc_Default_Field;#undef _nc_Make_ArgumentTypeArgument *_nc_Make_Argument( const FIELDTYPE *typ, va_list *ap, int *err) { return(*(TypeArgument **)0); }#undef _nc_Copy_ArgumentTypeArgument *_nc_Copy_Argument( const FIELDTYPE *typ, const TypeArgument *argp, int *err) { return(*(TypeArgument **)0); }#undef _nc_Free_Argumentvoid _nc_Free_Argument( const FIELDTYPE *typ, TypeArgument *argp) { /* void */ }#undef _nc_Copy_TypeNCURSES_BOOL _nc_Copy_Type( FIELD *dst, FIELD const *src) { return(*(NCURSES_BOOL *)0); }#undef _nc_Free_Typevoid _nc_Free_Type( FIELD *field) { /* void */ }#undef new_fieldFIELD *new_field( int rows, int cols, int frow, int fcol, int nrow, int nbuf) { return(*(FIELD **)0); }#undef free_fieldint free_field( FIELD *field) { return(*(int *)0); }/* ./fld_dup.c */#undef dup_fieldFIELD *dup_field( FIELD *field, int frow, int fcol) { return(*(FIELD **)0); }/* ./fld_ftchoice.c */#undef set_fieldtype_choiceint set_fieldtype_choice( FIELDTYPE *typ, NCURSES_BOOL (*const next_choice)( FIELD *p1, const void *p2), NCURSES_BOOL (*const prev_choice)( FIELD *p1, const void *p2)) { return(*(int *)0); }/* ./fld_ftlink.c */#undef link_fieldtypeFIELDTYPE *link_fieldtype( FIELDTYPE *type1, FIELDTYPE *type2) { return(*(FIELDTYPE **)0); }/* ./fld_info.c */#undef field_infoint field_info( const FIELD *field, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) { return(*(int *)0); }#undef dynamic_field_infoint dynamic_field_info( const FIELD *field, int *drows, int *dcols, int *maxgrow) { return(*(int *)0); }/* ./fld_just.c */#undef set_field_justint set_field_just( FIELD *field, int just) { return(*(int *)0); }#undef field_justint field_just( const FIELD *field) { return(*(int *)0); }/* ./fld_link.c */#undef link_fieldFIELD *link_field( FIELD *field, int frow, int fcol) { return(*(FIELD **)0); }/* ./fld_max.c */#undef set_max_fieldint set_max_field( FIELD *field, int maxgrow) { return(*(int *)0); }/* ./fld_move.c */#undef move_fieldint move_field( FIELD *field, int frow, int fcol) { return(*(int *)0); }/* ./fld_newftyp.c */#undef _nc_Default_FieldTypeconst FIELDTYPE *_nc_Default_FieldType = {0};#undef new_fieldtypeFIELDTYPE *new_fieldtype( NCURSES_BOOL (*const field_check)( FIELD *p1, const void *p2), NCURSES_BOOL (*const char_check)( int p1, const void *p2)) { return(*(FIELDTYPE **)0); }#undef free_fieldtypeint free_fieldtype( FIELDTYPE *typ) { return(*(int *)0); }/* ./fld_opts.c */#undef set_field_optsint set_field_opts( FIELD *field, Field_Options opts) { return(*(int *)0); }#undef field_optsField_Options field_opts( const FIELD *field) { return(*(Field_Options *)0); }#undef field_opts_onint field_opts_on( FIELD *field, Field_Options opts) { return(*(int *)0); }#undef field_opts_offint field_opts_off( FIELD *field, Field_Options opts) { return(*(int *)0); }/* ./fld_pad.c */#undef set_field_padint set_field_pad( FIELD *field, int ch) { return(*(int *)0); }#undef field_padint field_pad( const FIELD *field) { return(*(int *)0); }/* ./fld_page.c */#undef set_new_pageint set_new_page( FIELD *field, NCURSES_BOOL new_page_flag) { return(*(int *)0); }#undef new_pageNCURSES_BOOL new_page( const FIELD *field) { return(*(NCURSES_BOOL *)0); }/* ./fld_stat.c */#undef set_field_statusint set_field_status( FIELD *field, NCURSES_BOOL status) { return(*(int *)0); }#undef field_statusNCURSES_BOOL field_status( const FIELD *field) { return(*(NCURSES_BOOL *)0); }/* ./fld_type.c */#undef set_field_typeint set_field_type( FIELD *field, FIELDTYPE *type, ...) { return(*(int *)0); }#undef field_typeFIELDTYPE *field_type( const FIELD *field) { return(*(FIELDTYPE **)0); }/* ./fld_user.c */#undef set_field_userptrint set_field_userptr( FIELD *field, void *usrptr) { return(*(int *)0); }#undef field_userptrvoid *field_userptr( const FIELD *field) { return(*(void **)0); }/* ./frm_cursor.c */#undef pos_form_cursorint pos_form_cursor( FORM *form) { return(*(int *)0); }/* ./frm_data.c */#undef data_behindNCURSES_BOOL data_behind( const FORM *form) { return(*(NCURSES_BOOL *)0); }#undef data_aheadNCURSES_BOOL data_ahead( const FORM *form) { return(*(NCURSES_BOOL *)0); }/* ./frm_def.c */#undef _nc_Default_FormFORM *_nc_Default_Form;#undef new_formFORM *new_form( FIELD **fields) { return(*(FORM **)0); }#undef free_formint free_form( FORM *form) { return(*(int *)0); }#undef set_form_fieldsint set_form_fields( FORM *form, FIELD **fields) { return(*(int *)0); }#undef form_fieldsFIELD **form_fields( const FORM *form) { return(*(FIELD ***)0); }#undef field_countint field_count( const FORM *form) { return(*(int *)0); }/* ./frm_driver.c */#undef _nc_Position_Form_Cursorint _nc_Position_Form_Cursor( FORM *form) { return(*(int *)0); }#undef _nc_Refresh_Current_Fieldint _nc_Refresh_Current_Field( FORM *form) { return(*(int *)0); }#undef _nc_Synchronize_Attributesint _nc_Synchronize_Attributes( FIELD *field) { return(*(int *)0); }#undef _nc_Synchronize_Optionsint _nc_Synchronize_Options( FIELD *field, Field_Options newopts) { return(*(int *)0); }#undef _nc_Set_Current_Fieldint _nc_Set_Current_Field( FORM *form, FIELD *newfield) { return(*(int *)0); }#undef _nc_Internal_ValidationNCURSES_BOOL _nc_Internal_Validation( FORM *form) { return(*(NCURSES_BOOL *)0); }#undef _nc_First_Active_FieldFIELD *_nc_First_Active_Field( FORM *form) { return(*(FIELD **)0); }#undef _nc_Set_Form_Pageint _nc_Set_Form_Page( FORM *form, int page, FIELD *field) { return(*(int *)0); }typedef struct { int keycode; int (*cmd)(FORM *); } Binding_Info;#undef form_driverint form_driver( FORM *form, int c) { return(*(int *)0); }#undef set_field_bufferint set_field_buffer( FIELD *field, int buffer, const char *value) { return(*(int *)0); }#undef field_bufferchar *field_buffer( const FIELD *field, int buffer) { return(*(char **)0); }/* ./frm_hook.c */#undef set_field_initint set_field_init( FORM *form, Form_Hook func) { return(*(int *)0); }#undef field_initForm_Hook field_init( const FORM *form) { return(*(Form_Hook *)0); }#undef set_field_termint set_field_term( FORM *form, Form_Hook func) { return(*(int *)0); }#undef field_termForm_Hook field_term( const FORM *form) { return(*(Form_Hook *)0); }#undef set_form_initint set_form_init( FORM *form, Form_Hook func) { return(*(int *)0); }#undef form_initForm_Hook form_init( const FORM *form) { return(*(Form_Hook *)0); }#undef set_form_termint set_form_term( FORM *form, Form_Hook func) { return(*(int *)0); }#undef form_termForm_Hook form_term( const FORM *form) { return(*(Form_Hook *)0); }/* ./frm_opts.c */#undef set_form_optsint set_form_opts( FORM *form, Form_Options opts) { return(*(int *)0); }#undef form_optsForm_Options form_opts( const FORM *form) { return(*(Form_Options *)0); }#undef form_opts_onint form_opts_on( FORM *form, Form_Options opts) { return(*(int *)0); }#undef form_opts_offint form_opts_off( FORM *form, Form_Options opts) { return(*(int *)0); }/* ./frm_page.c */#undef set_form_pageint set_form_page( FORM *form, int page) { return(*(int *)0); }#undef form_pageint form_page( const FORM *form) { return(*(int *)0); }/* ./frm_post.c */#undef post_formint post_form( FORM *form) { return(*(int *)0); }#undef unpost_formint unpost_form( FORM *form) { return(*(int *)0); }/* ./frm_req_name.c */#undef form_request_nameconst char *form_request_name( int request) { return(*(const char **)0); }#undef form_request_by_nameint form_request_by_name( const char *str) { return(*(int *)0); }/* ./frm_scale.c */#undef scale_formint scale_form( const FORM *form, int *rows, int *cols) { return(*(int *)0); }/* ./frm_sub.c */#undef set_form_subint set_form_sub( FORM *form, WINDOW *win) { return(*(int *)0); }#undef form_subWINDOW *form_sub( const FORM *form) { return(*(WINDOW **)0); }/* ./frm_user.c */#undef set_form_userptrint set_form_userptr( FORM *form, void *usrptr) { return(*(int *)0); }#undef form_userptrvoid *form_userptr( const FORM *form) { return(*(void **)0); }/* ./frm_win.c */#undef set_form_winint set_form_win( FORM *form, WINDOW *win) { return(*(int *)0); }#undef form_winWINDOW *form_win( const FORM *form) { return(*(WINDOW **)0); }/* ./fty_alnum.c */typedef struct { int width;} alnumARG;#undef TYPE_ALNUMFIELDTYPE *TYPE_ALNUM;/* ./fty_alpha.c */typedef struct { int width;} alphaARG;#undef TYPE_ALPHAFIELDTYPE *TYPE_ALPHA;/* ./fty_enum.c */typedef struct { char **kwds; int count; NCURSES_BOOL checkcase; NCURSES_BOOL checkunique;} enumARG;#undef TYPE_ENUMFIELDTYPE *TYPE_ENUM;/* ./fty_int.c */typedef struct { int precision; long low; long high;} integerARG;#undef TYPE_INTEGERFIELDTYPE *TYPE_INTEGER;/* ./fty_ipv4.c */#undef TYPE_IPV4FIELDTYPE *TYPE_IPV4;/* ./fty_num.c */#include <locale.h>typedef struct { int precision; double low; double high; struct lconv* L;} numericARG;#undef TYPE_NUMERICFIELDTYPE *TYPE_NUMERIC;/* ./fty_regex.c */#include <regex.h>typedef struct{ regex_t *pRegExp; unsigned long *refCount;} RegExp_Arg;#undef TYPE_REGEXPFIELDTYPE *TYPE_REGEXP;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -