X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Fllib-lformw;h=30c24b56029e019c8e0dafabd706fcaa8657d47b;hp=f5720189872daef30945dc6b8d41d7ab9ef70719;hb=7517964d4343789c36b7ded32feb81961b03b725;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;ds=sidebyside diff --git a/form/llib-lformw b/form/llib-lformw index f5720189..30c24b56 100644 --- a/form/llib-lformw +++ b/form/llib-lformw @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2002 Free Software Foundation, Inc. * + * Copyright (c) 2002-2005,2010 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 * @@ -27,13 +27,40 @@ ****************************************************************************/ /**************************************************************************** - * Author: Thomas E. Dickey 2002 * + * Author: Thomas E. Dickey 2002-2005,2010 * ****************************************************************************/ /* LINTLIBRARY */ -/* ./fld_arg.c */ +/* ./f_trace.c */ + +#include + +#undef _nc_retrace_field_ptr +FIELD **_nc_retrace_field_ptr( + FIELD **code) + { return(*(FIELD ***)0); } + +#undef _nc_retrace_field +FIELD *_nc_retrace_field( + FIELD *code) + { return(*(FIELD **)0); } + +#undef _nc_retrace_field_type +FIELDTYPE *_nc_retrace_field_type( + FIELDTYPE *code) + { return(*(FIELDTYPE **)0); } + +#undef _nc_retrace_form +FORM *_nc_retrace_form( + FORM *code) + { return(*(FORM **)0); } -#include "form.priv.h" +#undef _nc_retrace_form_hook +Form_Hook _nc_retrace_form_hook( + Form_Hook code) + { return(*(Form_Hook *)0); } + +/* ./fld_arg.c */ #undef set_fieldtype_arg int set_fieldtype_arg( @@ -237,7 +264,7 @@ int move_field( /* ./fld_newftyp.c */ #undef _nc_Default_FieldType -const FIELDTYPE *_nc_Default_FieldType = {0}; +FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( @@ -369,6 +396,12 @@ NCURSES_BOOL data_ahead( #undef _nc_Default_Form FORM *_nc_Default_Form; +#undef new_form_sp +FORM *new_form_sp( + SCREEN *sp, + FIELD **fields) + { return(*(FORM **)0); } + #undef new_form FORM *new_form( FIELD **fields) @@ -397,6 +430,13 @@ int field_count( /* ./frm_driver.c */ +#undef _nc_get_fieldbuffer +void _nc_get_fieldbuffer( + FORM *form, + FIELD *field, + cchar_t *buf) + { /* void */ } + #undef _nc_Position_Form_Cursor int _nc_Position_Form_Cursor( FORM *form) @@ -441,10 +481,12 @@ int _nc_Set_Form_Page( FIELD *field) { return(*(int *)0); } -typedef struct { - int keycode; - int (*cmd)(FORM *); -} Binding_Info; +typedef struct +{ + int keycode; + int (*cmd) (FORM *); +} +Binding_Info; #undef form_driver int form_driver( @@ -465,6 +507,12 @@ char *field_buffer( int buffer) { return(*(char **)0); } +#undef _nc_Widen_String +wchar_t *_nc_Widen_String( + char *source, + int *lengthp) + { return(*(wchar_t **)0); } + /* ./frm_hook.c */ #undef set_field_init @@ -623,41 +671,71 @@ WINDOW *form_win( /* ./fty_alnum.c */ -typedef struct { - int width; -} alnumARG; +typedef struct + { + int width; + } +alnumARG; #undef TYPE_ALNUM FIELDTYPE *TYPE_ALNUM; /* ./fty_alpha.c */ -typedef struct { - int width; -} alphaARG; +typedef struct + { + int width; + } +alphaARG; #undef TYPE_ALPHA FIELDTYPE *TYPE_ALPHA; /* ./fty_enum.c */ -typedef struct { - char **kwds; - int count; - NCURSES_BOOL checkcase; - NCURSES_BOOL checkunique; -} enumARG; +typedef struct + { + char **kwds; + int count; + NCURSES_BOOL checkcase; + NCURSES_BOOL checkunique; + } +enumARG; + +typedef struct + { + char **kwds; + int ccase; + int cunique; + } +enumParams; #undef TYPE_ENUM FIELDTYPE *TYPE_ENUM; +/* ./fty_generic.c */ + +#undef _nc_fty_generic +void _nc_fty_generic(void) + { /* void */ } + /* ./fty_int.c */ -typedef struct { - int precision; - long low; - long high; -} integerARG; +typedef struct + { + int precision; + long low; + long high; + } +integerARG; + +typedef struct + { + int precision; + long low; + long high; + } +integerPARM; #undef TYPE_INTEGER FIELDTYPE *TYPE_INTEGER; @@ -668,12 +746,24 @@ FIELDTYPE *TYPE_IPV4; /* ./fty_num.c */ -typedef struct { - int precision; - double low; - double high; - struct lconv* L; -} numericARG; +#include + +typedef struct + { + int precision; + double low; + double high; + struct lconv *L; + } +numericARG; + +typedef struct + { + int precision; + double low; + double high; + } +thisPARM; #undef TYPE_NUMERIC FIELDTYPE *TYPE_NUMERIC; @@ -683,10 +773,11 @@ FIELDTYPE *TYPE_NUMERIC; #include typedef struct -{ - regex_t *pRegExp; - unsigned long *refCount; -} RegExp_Arg; + { + regex_t *pRegExp; + unsigned long *refCount; + } +RegExp_Arg; #undef TYPE_REGEXP FIELDTYPE *TYPE_REGEXP;