diff --git a/payloads/libpayload/curses/form/READ.ME b/payloads/libpayload/curses/form/READ.ME index da86bf6927..24a136911a 100644 --- a/payloads/libpayload/curses/form/READ.ME +++ b/payloads/libpayload/curses/form/READ.ME @@ -32,11 +32,11 @@ This is a clone of the form library that is available with typical System V curses implementations (ETI). It is modelled after the documentation that comes for this library with -a 386 based SVR4 implementation (ESIX). +a 386 based SVR4 implementation (ESIX). The development environment was and is an ELF based Linux system. -For things that still need doing, see the TO-DO file in the top-level +For things that still need doing, see the TO-DO file in the top-level directory. Juergen Pfeifer diff --git a/payloads/libpayload/curses/form/llib-lform b/payloads/libpayload/curses/form/llib-lform index 2b6abdcd7c..670cd720bc 100644 --- a/payloads/libpayload/curses/form/llib-lform +++ b/payloads/libpayload/curses/form/llib-lform @@ -64,11 +64,11 @@ Form_Hook _nc_retrace_form_hook( #undef set_fieldtype_arg int set_fieldtype_arg( - FIELDTYPE *typ, + FIELDTYPE *typ, void *(*const make_arg)( - va_list *p1), + va_list *p1), void *(*const copy_arg)( - const void *p1), + const void *p1), void (*const free_arg)( void *p1)) { return(*(int *)0); } @@ -82,7 +82,7 @@ void *field_arg( #undef set_field_fore int set_field_fore( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -93,7 +93,7 @@ chtype field_fore( #undef set_field_back int set_field_back( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -106,7 +106,7 @@ chtype field_back( #undef set_current_field int set_current_field( - FORM *form, + FORM *form, FIELD *field) { return(*(int *)0); } @@ -127,27 +127,27 @@ FIELD *_nc_Default_Field; #undef _nc_Make_Argument TypeArgument *_nc_Make_Argument( - const FIELDTYPE *typ, - va_list *ap, + const FIELDTYPE *typ, + va_list *ap, int *err) { return(*(TypeArgument **)0); } #undef _nc_Copy_Argument TypeArgument *_nc_Copy_Argument( - const FIELDTYPE *typ, - const TypeArgument *argp, + const FIELDTYPE *typ, + const TypeArgument *argp, int *err) { return(*(TypeArgument **)0); } #undef _nc_Free_Argument void _nc_Free_Argument( - const FIELDTYPE *typ, + const FIELDTYPE *typ, TypeArgument *argp) { /* void */ } #undef _nc_Copy_Type NCURSES_BOOL _nc_Copy_Type( - FIELD *dst, + FIELD *dst, FIELD const *src) { return(*(NCURSES_BOOL *)0); } @@ -158,11 +158,11 @@ void _nc_Free_Type( #undef new_field FIELD *new_field( - int rows, - int cols, - int frow, - int fcol, - int nrow, + int rows, + int cols, + int frow, + int fcol, + int nrow, int nbuf) { return(*(FIELD **)0); } @@ -175,8 +175,8 @@ int free_field( #undef dup_field FIELD *dup_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -184,12 +184,12 @@ FIELD *dup_field( #undef set_fieldtype_choice int set_fieldtype_choice( - FIELDTYPE *typ, + FIELDTYPE *typ, NCURSES_BOOL (*const next_choice)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const prev_choice)( - FIELD *p1, + FIELD *p1, const void *p2)) { return(*(int *)0); } @@ -197,7 +197,7 @@ int set_fieldtype_choice( #undef link_fieldtype FIELDTYPE *link_fieldtype( - FIELDTYPE *type1, + FIELDTYPE *type1, FIELDTYPE *type2) { return(*(FIELDTYPE **)0); } @@ -205,20 +205,20 @@ FIELDTYPE *link_fieldtype( #undef field_info int field_info( - const FIELD *field, - int *rows, - int *cols, - int *frow, - int *fcol, - int *nrow, + const FIELD *field, + int *rows, + int *cols, + int *frow, + int *fcol, + int *nrow, int *nbuf) { return(*(int *)0); } #undef dynamic_field_info int dynamic_field_info( - const FIELD *field, - int *drows, - int *dcols, + const FIELD *field, + int *drows, + int *dcols, int *maxgrow) { return(*(int *)0); } @@ -226,7 +226,7 @@ int dynamic_field_info( #undef set_field_just int set_field_just( - FIELD *field, + FIELD *field, int just) { return(*(int *)0); } @@ -239,8 +239,8 @@ int field_just( #undef link_field FIELD *link_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -248,7 +248,7 @@ FIELD *link_field( #undef set_max_field int set_max_field( - FIELD *field, + FIELD *field, int maxgrow) { return(*(int *)0); } @@ -256,8 +256,8 @@ int set_max_field( #undef move_field int move_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(int *)0); } @@ -269,10 +269,10 @@ FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( NCURSES_BOOL (*const field_check)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const char_check)( - int p1, + int p1, const void *p2)) { return(*(FIELDTYPE **)0); } @@ -285,7 +285,7 @@ int free_fieldtype( #undef set_field_opts int set_field_opts( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -296,13 +296,13 @@ Field_Options field_opts( #undef field_opts_on int field_opts_on( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } #undef field_opts_off int field_opts_off( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -310,7 +310,7 @@ int field_opts_off( #undef set_field_pad int set_field_pad( - FIELD *field, + FIELD *field, int ch) { return(*(int *)0); } @@ -323,7 +323,7 @@ int field_pad( #undef set_new_page int set_new_page( - FIELD *field, + FIELD *field, NCURSES_BOOL new_page_flag) { return(*(int *)0); } @@ -336,7 +336,7 @@ NCURSES_BOOL new_page( #undef set_field_status int set_field_status( - FIELD *field, + FIELD *field, NCURSES_BOOL status) { return(*(int *)0); } @@ -349,8 +349,8 @@ NCURSES_BOOL field_status( #undef set_field_type int set_field_type( - FIELD *field, - FIELDTYPE *type, + FIELD *field, + FIELDTYPE *type, ...) { return(*(int *)0); } @@ -363,7 +363,7 @@ FIELDTYPE *field_type( #undef set_field_userptr int set_field_userptr( - FIELD *field, + FIELD *field, void *usrptr) { return(*(int *)0); } @@ -398,7 +398,7 @@ FORM *_nc_Default_Form; #undef new_form_sp FORM *new_form_sp( - SCREEN *sp, + SCREEN *sp, FIELD **fields) { return(*(FORM **)0); } @@ -414,7 +414,7 @@ int free_form( #undef set_form_fields int set_form_fields( - FORM *form, + FORM *form, FIELD **fields) { return(*(int *)0); } @@ -432,8 +432,8 @@ int field_count( #undef _nc_get_fieldbuffer void _nc_get_fieldbuffer( - FORM *form, - FIELD *field, + FORM *form, + FIELD *field, char *buf) { /* void */ } @@ -454,13 +454,13 @@ int _nc_Synchronize_Attributes( #undef _nc_Synchronize_Options int _nc_Synchronize_Options( - FIELD *field, + FIELD *field, Field_Options newopts) { return(*(int *)0); } #undef _nc_Set_Current_Field int _nc_Set_Current_Field( - FORM *form, + FORM *form, FIELD *newfield) { return(*(int *)0); } @@ -476,34 +476,34 @@ FIELD *_nc_First_Active_Field( #undef _nc_Set_Form_Page int _nc_Set_Form_Page( - FORM *form, - int page, + FORM *form, + int page, FIELD *field) { return(*(int *)0); } typedef struct { - int keycode; - int (*cmd) (FORM *); + int keycode; + int (*cmd) (FORM *); } Binding_Info; #undef form_driver int form_driver( - FORM *form, + FORM *form, int c) { return(*(int *)0); } #undef set_field_buffer int set_field_buffer( - FIELD *field, - int buffer, + FIELD *field, + int buffer, const char *value) { return(*(int *)0); } #undef field_buffer char *field_buffer( - const FIELD *field, + const FIELD *field, int buffer) { return(*(char **)0); } @@ -511,7 +511,7 @@ char *field_buffer( #undef set_field_init int set_field_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -522,7 +522,7 @@ Form_Hook field_init( #undef set_field_term int set_field_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -533,7 +533,7 @@ Form_Hook field_term( #undef set_form_init int set_form_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -544,7 +544,7 @@ Form_Hook form_init( #undef set_form_term int set_form_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -557,7 +557,7 @@ Form_Hook form_term( #undef set_form_opts int set_form_opts( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -568,13 +568,13 @@ Form_Options form_opts( #undef form_opts_on int form_opts_on( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } #undef form_opts_off int form_opts_off( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -582,7 +582,7 @@ int form_opts_off( #undef set_form_page int set_form_page( - FORM *form, + FORM *form, int page) { return(*(int *)0); } @@ -619,8 +619,8 @@ int form_request_by_name( #undef scale_form int scale_form( - const FORM *form, - int *rows, + const FORM *form, + int *rows, int *cols) { return(*(int *)0); } @@ -628,7 +628,7 @@ int scale_form( #undef set_form_sub int set_form_sub( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } @@ -641,7 +641,7 @@ WINDOW *form_sub( #undef set_form_userptr int set_form_userptr( - FORM *form, + FORM *form, void *usrptr) { return(*(int *)0); } @@ -654,7 +654,7 @@ void *form_userptr( #undef set_form_win int set_form_win( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } diff --git a/payloads/libpayload/curses/form/llib-lformt b/payloads/libpayload/curses/form/llib-lformt index 33de63cde9..df0fff8d55 100644 --- a/payloads/libpayload/curses/form/llib-lformt +++ b/payloads/libpayload/curses/form/llib-lformt @@ -64,11 +64,11 @@ Form_Hook _nc_retrace_form_hook( #undef set_fieldtype_arg int set_fieldtype_arg( - FIELDTYPE *typ, + FIELDTYPE *typ, void *(*const make_arg)( - va_list *p1), + va_list *p1), void *(*const copy_arg)( - const void *p1), + const void *p1), void (*const free_arg)( void *p1)) { return(*(int *)0); } @@ -82,7 +82,7 @@ void *field_arg( #undef set_field_fore int set_field_fore( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -93,7 +93,7 @@ chtype field_fore( #undef set_field_back int set_field_back( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -106,7 +106,7 @@ chtype field_back( #undef set_current_field int set_current_field( - FORM *form, + FORM *form, FIELD *field) { return(*(int *)0); } @@ -127,27 +127,27 @@ FIELD *_nc_Default_Field; #undef _nc_Make_Argument TypeArgument *_nc_Make_Argument( - const FIELDTYPE *typ, - va_list *ap, + const FIELDTYPE *typ, + va_list *ap, int *err) { return(*(TypeArgument **)0); } #undef _nc_Copy_Argument TypeArgument *_nc_Copy_Argument( - const FIELDTYPE *typ, - const TypeArgument *argp, + const FIELDTYPE *typ, + const TypeArgument *argp, int *err) { return(*(TypeArgument **)0); } #undef _nc_Free_Argument void _nc_Free_Argument( - const FIELDTYPE *typ, + const FIELDTYPE *typ, TypeArgument *argp) { /* void */ } #undef _nc_Copy_Type NCURSES_BOOL _nc_Copy_Type( - FIELD *dst, + FIELD *dst, FIELD const *src) { return(*(NCURSES_BOOL *)0); } @@ -158,11 +158,11 @@ void _nc_Free_Type( #undef new_field FIELD *new_field( - int rows, - int cols, - int frow, - int fcol, - int nrow, + int rows, + int cols, + int frow, + int fcol, + int nrow, int nbuf) { return(*(FIELD **)0); } @@ -175,8 +175,8 @@ int free_field( #undef dup_field FIELD *dup_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -184,12 +184,12 @@ FIELD *dup_field( #undef set_fieldtype_choice int set_fieldtype_choice( - FIELDTYPE *typ, + FIELDTYPE *typ, NCURSES_BOOL (*const next_choice)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const prev_choice)( - FIELD *p1, + FIELD *p1, const void *p2)) { return(*(int *)0); } @@ -197,7 +197,7 @@ int set_fieldtype_choice( #undef link_fieldtype FIELDTYPE *link_fieldtype( - FIELDTYPE *type1, + FIELDTYPE *type1, FIELDTYPE *type2) { return(*(FIELDTYPE **)0); } @@ -205,20 +205,20 @@ FIELDTYPE *link_fieldtype( #undef field_info int field_info( - const FIELD *field, - int *rows, - int *cols, - int *frow, - int *fcol, - int *nrow, + const FIELD *field, + int *rows, + int *cols, + int *frow, + int *fcol, + int *nrow, int *nbuf) { return(*(int *)0); } #undef dynamic_field_info int dynamic_field_info( - const FIELD *field, - int *drows, - int *dcols, + const FIELD *field, + int *drows, + int *dcols, int *maxgrow) { return(*(int *)0); } @@ -226,7 +226,7 @@ int dynamic_field_info( #undef set_field_just int set_field_just( - FIELD *field, + FIELD *field, int just) { return(*(int *)0); } @@ -239,8 +239,8 @@ int field_just( #undef link_field FIELD *link_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -248,7 +248,7 @@ FIELD *link_field( #undef set_max_field int set_max_field( - FIELD *field, + FIELD *field, int maxgrow) { return(*(int *)0); } @@ -256,8 +256,8 @@ int set_max_field( #undef move_field int move_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(int *)0); } @@ -269,10 +269,10 @@ FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( NCURSES_BOOL (*const field_check)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const char_check)( - int p1, + int p1, const void *p2)) { return(*(FIELDTYPE **)0); } @@ -285,7 +285,7 @@ int free_fieldtype( #undef set_field_opts int set_field_opts( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -296,13 +296,13 @@ Field_Options field_opts( #undef field_opts_on int field_opts_on( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } #undef field_opts_off int field_opts_off( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -310,7 +310,7 @@ int field_opts_off( #undef set_field_pad int set_field_pad( - FIELD *field, + FIELD *field, int ch) { return(*(int *)0); } @@ -323,7 +323,7 @@ int field_pad( #undef set_new_page int set_new_page( - FIELD *field, + FIELD *field, NCURSES_BOOL new_page_flag) { return(*(int *)0); } @@ -336,7 +336,7 @@ NCURSES_BOOL new_page( #undef set_field_status int set_field_status( - FIELD *field, + FIELD *field, NCURSES_BOOL status) { return(*(int *)0); } @@ -349,8 +349,8 @@ NCURSES_BOOL field_status( #undef set_field_type int set_field_type( - FIELD *field, - FIELDTYPE *type, + FIELD *field, + FIELDTYPE *type, ...) { return(*(int *)0); } @@ -363,7 +363,7 @@ FIELDTYPE *field_type( #undef set_field_userptr int set_field_userptr( - FIELD *field, + FIELD *field, void *usrptr) { return(*(int *)0); } @@ -398,7 +398,7 @@ FORM *_nc_Default_Form; #undef new_form_sp FORM *new_form_sp( - SCREEN *sp, + SCREEN *sp, FIELD **fields) { return(*(FORM **)0); } @@ -414,7 +414,7 @@ int free_form( #undef set_form_fields int set_form_fields( - FORM *form, + FORM *form, FIELD **fields) { return(*(int *)0); } @@ -432,8 +432,8 @@ int field_count( #undef _nc_get_fieldbuffer void _nc_get_fieldbuffer( - FORM *form, - FIELD *field, + FORM *form, + FIELD *field, char *buf) { /* void */ } @@ -454,13 +454,13 @@ int _nc_Synchronize_Attributes( #undef _nc_Synchronize_Options int _nc_Synchronize_Options( - FIELD *field, + FIELD *field, Field_Options newopts) { return(*(int *)0); } #undef _nc_Set_Current_Field int _nc_Set_Current_Field( - FORM *form, + FORM *form, FIELD *newfield) { return(*(int *)0); } @@ -476,34 +476,34 @@ FIELD *_nc_First_Active_Field( #undef _nc_Set_Form_Page int _nc_Set_Form_Page( - FORM *form, - int page, + FORM *form, + int page, FIELD *field) { return(*(int *)0); } typedef struct { - int keycode; - int (*cmd) (FORM *); + int keycode; + int (*cmd) (FORM *); } Binding_Info; #undef form_driver int form_driver( - FORM *form, + FORM *form, int c) { return(*(int *)0); } #undef set_field_buffer int set_field_buffer( - FIELD *field, - int buffer, + FIELD *field, + int buffer, const char *value) { return(*(int *)0); } #undef field_buffer char *field_buffer( - const FIELD *field, + const FIELD *field, int buffer) { return(*(char **)0); } @@ -511,7 +511,7 @@ char *field_buffer( #undef set_field_init int set_field_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -522,7 +522,7 @@ Form_Hook field_init( #undef set_field_term int set_field_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -533,7 +533,7 @@ Form_Hook field_term( #undef set_form_init int set_form_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -544,7 +544,7 @@ Form_Hook form_init( #undef set_form_term int set_form_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -557,7 +557,7 @@ Form_Hook form_term( #undef set_form_opts int set_form_opts( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -568,13 +568,13 @@ Form_Options form_opts( #undef form_opts_on int form_opts_on( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } #undef form_opts_off int form_opts_off( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -582,7 +582,7 @@ int form_opts_off( #undef set_form_page int set_form_page( - FORM *form, + FORM *form, int page) { return(*(int *)0); } @@ -619,8 +619,8 @@ int form_request_by_name( #undef scale_form int scale_form( - const FORM *form, - int *rows, + const FORM *form, + int *rows, int *cols) { return(*(int *)0); } @@ -628,7 +628,7 @@ int scale_form( #undef set_form_sub int set_form_sub( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } @@ -641,7 +641,7 @@ WINDOW *form_sub( #undef set_form_userptr int set_form_userptr( - FORM *form, + FORM *form, void *usrptr) { return(*(int *)0); } @@ -654,7 +654,7 @@ void *form_userptr( #undef set_form_win int set_form_win( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } diff --git a/payloads/libpayload/curses/form/llib-lformtw b/payloads/libpayload/curses/form/llib-lformtw index 10639490e3..e1f894ebad 100644 --- a/payloads/libpayload/curses/form/llib-lformtw +++ b/payloads/libpayload/curses/form/llib-lformtw @@ -64,11 +64,11 @@ Form_Hook _nc_retrace_form_hook( #undef set_fieldtype_arg int set_fieldtype_arg( - FIELDTYPE *typ, + FIELDTYPE *typ, void *(*const make_arg)( - va_list *p1), + va_list *p1), void *(*const copy_arg)( - const void *p1), + const void *p1), void (*const free_arg)( void *p1)) { return(*(int *)0); } @@ -82,7 +82,7 @@ void *field_arg( #undef set_field_fore int set_field_fore( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -93,7 +93,7 @@ chtype field_fore( #undef set_field_back int set_field_back( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -106,7 +106,7 @@ chtype field_back( #undef set_current_field int set_current_field( - FORM *form, + FORM *form, FIELD *field) { return(*(int *)0); } @@ -127,27 +127,27 @@ FIELD *_nc_Default_Field; #undef _nc_Make_Argument TypeArgument *_nc_Make_Argument( - const FIELDTYPE *typ, - va_list *ap, + const FIELDTYPE *typ, + va_list *ap, int *err) { return(*(TypeArgument **)0); } #undef _nc_Copy_Argument TypeArgument *_nc_Copy_Argument( - const FIELDTYPE *typ, - const TypeArgument *argp, + const FIELDTYPE *typ, + const TypeArgument *argp, int *err) { return(*(TypeArgument **)0); } #undef _nc_Free_Argument void _nc_Free_Argument( - const FIELDTYPE *typ, + const FIELDTYPE *typ, TypeArgument *argp) { /* void */ } #undef _nc_Copy_Type NCURSES_BOOL _nc_Copy_Type( - FIELD *dst, + FIELD *dst, FIELD const *src) { return(*(NCURSES_BOOL *)0); } @@ -158,11 +158,11 @@ void _nc_Free_Type( #undef new_field FIELD *new_field( - int rows, - int cols, - int frow, - int fcol, - int nrow, + int rows, + int cols, + int frow, + int fcol, + int nrow, int nbuf) { return(*(FIELD **)0); } @@ -175,8 +175,8 @@ int free_field( #undef dup_field FIELD *dup_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -184,12 +184,12 @@ FIELD *dup_field( #undef set_fieldtype_choice int set_fieldtype_choice( - FIELDTYPE *typ, + FIELDTYPE *typ, NCURSES_BOOL (*const next_choice)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const prev_choice)( - FIELD *p1, + FIELD *p1, const void *p2)) { return(*(int *)0); } @@ -197,7 +197,7 @@ int set_fieldtype_choice( #undef link_fieldtype FIELDTYPE *link_fieldtype( - FIELDTYPE *type1, + FIELDTYPE *type1, FIELDTYPE *type2) { return(*(FIELDTYPE **)0); } @@ -205,20 +205,20 @@ FIELDTYPE *link_fieldtype( #undef field_info int field_info( - const FIELD *field, - int *rows, - int *cols, - int *frow, - int *fcol, - int *nrow, + const FIELD *field, + int *rows, + int *cols, + int *frow, + int *fcol, + int *nrow, int *nbuf) { return(*(int *)0); } #undef dynamic_field_info int dynamic_field_info( - const FIELD *field, - int *drows, - int *dcols, + const FIELD *field, + int *drows, + int *dcols, int *maxgrow) { return(*(int *)0); } @@ -226,7 +226,7 @@ int dynamic_field_info( #undef set_field_just int set_field_just( - FIELD *field, + FIELD *field, int just) { return(*(int *)0); } @@ -239,8 +239,8 @@ int field_just( #undef link_field FIELD *link_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -248,7 +248,7 @@ FIELD *link_field( #undef set_max_field int set_max_field( - FIELD *field, + FIELD *field, int maxgrow) { return(*(int *)0); } @@ -256,8 +256,8 @@ int set_max_field( #undef move_field int move_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(int *)0); } @@ -269,10 +269,10 @@ FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( NCURSES_BOOL (*const field_check)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const char_check)( - int p1, + int p1, const void *p2)) { return(*(FIELDTYPE **)0); } @@ -285,7 +285,7 @@ int free_fieldtype( #undef set_field_opts int set_field_opts( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -296,13 +296,13 @@ Field_Options field_opts( #undef field_opts_on int field_opts_on( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } #undef field_opts_off int field_opts_off( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -310,7 +310,7 @@ int field_opts_off( #undef set_field_pad int set_field_pad( - FIELD *field, + FIELD *field, int ch) { return(*(int *)0); } @@ -323,7 +323,7 @@ int field_pad( #undef set_new_page int set_new_page( - FIELD *field, + FIELD *field, NCURSES_BOOL new_page_flag) { return(*(int *)0); } @@ -336,7 +336,7 @@ NCURSES_BOOL new_page( #undef set_field_status int set_field_status( - FIELD *field, + FIELD *field, NCURSES_BOOL status) { return(*(int *)0); } @@ -349,8 +349,8 @@ NCURSES_BOOL field_status( #undef set_field_type int set_field_type( - FIELD *field, - FIELDTYPE *type, + FIELD *field, + FIELDTYPE *type, ...) { return(*(int *)0); } @@ -363,7 +363,7 @@ FIELDTYPE *field_type( #undef set_field_userptr int set_field_userptr( - FIELD *field, + FIELD *field, void *usrptr) { return(*(int *)0); } @@ -398,7 +398,7 @@ FORM *_nc_Default_Form; #undef new_form_sp FORM *new_form_sp( - SCREEN *sp, + SCREEN *sp, FIELD **fields) { return(*(FORM **)0); } @@ -414,7 +414,7 @@ int free_form( #undef set_form_fields int set_form_fields( - FORM *form, + FORM *form, FIELD **fields) { return(*(int *)0); } @@ -432,8 +432,8 @@ int field_count( #undef _nc_get_fieldbuffer void _nc_get_fieldbuffer( - FORM *form, - FIELD *field, + FORM *form, + FIELD *field, cchar_t *buf) { /* void */ } @@ -454,13 +454,13 @@ int _nc_Synchronize_Attributes( #undef _nc_Synchronize_Options int _nc_Synchronize_Options( - FIELD *field, + FIELD *field, Field_Options newopts) { return(*(int *)0); } #undef _nc_Set_Current_Field int _nc_Set_Current_Field( - FORM *form, + FORM *form, FIELD *newfield) { return(*(int *)0); } @@ -476,40 +476,40 @@ FIELD *_nc_First_Active_Field( #undef _nc_Set_Form_Page int _nc_Set_Form_Page( - FORM *form, - int page, + FORM *form, + int page, FIELD *field) { return(*(int *)0); } typedef struct { - int keycode; - int (*cmd) (FORM *); + int keycode; + int (*cmd) (FORM *); } Binding_Info; #undef form_driver int form_driver( - FORM *form, + FORM *form, int c) { return(*(int *)0); } #undef set_field_buffer int set_field_buffer( - FIELD *field, - int buffer, + FIELD *field, + int buffer, const char *value) { return(*(int *)0); } #undef field_buffer char *field_buffer( - const FIELD *field, + const FIELD *field, int buffer) { return(*(char **)0); } #undef _nc_Widen_String wchar_t *_nc_Widen_String( - char *source, + char *source, int *lengthp) { return(*(wchar_t **)0); } @@ -517,7 +517,7 @@ wchar_t *_nc_Widen_String( #undef set_field_init int set_field_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -528,7 +528,7 @@ Form_Hook field_init( #undef set_field_term int set_field_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -539,7 +539,7 @@ Form_Hook field_term( #undef set_form_init int set_form_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -550,7 +550,7 @@ Form_Hook form_init( #undef set_form_term int set_form_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -563,7 +563,7 @@ Form_Hook form_term( #undef set_form_opts int set_form_opts( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -574,13 +574,13 @@ Form_Options form_opts( #undef form_opts_on int form_opts_on( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } #undef form_opts_off int form_opts_off( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -588,7 +588,7 @@ int form_opts_off( #undef set_form_page int set_form_page( - FORM *form, + FORM *form, int page) { return(*(int *)0); } @@ -625,8 +625,8 @@ int form_request_by_name( #undef scale_form int scale_form( - const FORM *form, - int *rows, + const FORM *form, + int *rows, int *cols) { return(*(int *)0); } @@ -634,7 +634,7 @@ int scale_form( #undef set_form_sub int set_form_sub( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } @@ -647,7 +647,7 @@ WINDOW *form_sub( #undef set_form_userptr int set_form_userptr( - FORM *form, + FORM *form, void *usrptr) { return(*(int *)0); } @@ -660,7 +660,7 @@ void *form_userptr( #undef set_form_win int set_form_win( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } diff --git a/payloads/libpayload/curses/form/llib-lformw b/payloads/libpayload/curses/form/llib-lformw index 30c24b5602..a088da4a6b 100644 --- a/payloads/libpayload/curses/form/llib-lformw +++ b/payloads/libpayload/curses/form/llib-lformw @@ -64,11 +64,11 @@ Form_Hook _nc_retrace_form_hook( #undef set_fieldtype_arg int set_fieldtype_arg( - FIELDTYPE *typ, + FIELDTYPE *typ, void *(*const make_arg)( - va_list *p1), + va_list *p1), void *(*const copy_arg)( - const void *p1), + const void *p1), void (*const free_arg)( void *p1)) { return(*(int *)0); } @@ -82,7 +82,7 @@ void *field_arg( #undef set_field_fore int set_field_fore( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -93,7 +93,7 @@ chtype field_fore( #undef set_field_back int set_field_back( - FIELD *field, + FIELD *field, chtype attr) { return(*(int *)0); } @@ -106,7 +106,7 @@ chtype field_back( #undef set_current_field int set_current_field( - FORM *form, + FORM *form, FIELD *field) { return(*(int *)0); } @@ -127,27 +127,27 @@ FIELD *_nc_Default_Field; #undef _nc_Make_Argument TypeArgument *_nc_Make_Argument( - const FIELDTYPE *typ, - va_list *ap, + const FIELDTYPE *typ, + va_list *ap, int *err) { return(*(TypeArgument **)0); } #undef _nc_Copy_Argument TypeArgument *_nc_Copy_Argument( - const FIELDTYPE *typ, - const TypeArgument *argp, + const FIELDTYPE *typ, + const TypeArgument *argp, int *err) { return(*(TypeArgument **)0); } #undef _nc_Free_Argument void _nc_Free_Argument( - const FIELDTYPE *typ, + const FIELDTYPE *typ, TypeArgument *argp) { /* void */ } #undef _nc_Copy_Type NCURSES_BOOL _nc_Copy_Type( - FIELD *dst, + FIELD *dst, FIELD const *src) { return(*(NCURSES_BOOL *)0); } @@ -158,11 +158,11 @@ void _nc_Free_Type( #undef new_field FIELD *new_field( - int rows, - int cols, - int frow, - int fcol, - int nrow, + int rows, + int cols, + int frow, + int fcol, + int nrow, int nbuf) { return(*(FIELD **)0); } @@ -175,8 +175,8 @@ int free_field( #undef dup_field FIELD *dup_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -184,12 +184,12 @@ FIELD *dup_field( #undef set_fieldtype_choice int set_fieldtype_choice( - FIELDTYPE *typ, + FIELDTYPE *typ, NCURSES_BOOL (*const next_choice)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const prev_choice)( - FIELD *p1, + FIELD *p1, const void *p2)) { return(*(int *)0); } @@ -197,7 +197,7 @@ int set_fieldtype_choice( #undef link_fieldtype FIELDTYPE *link_fieldtype( - FIELDTYPE *type1, + FIELDTYPE *type1, FIELDTYPE *type2) { return(*(FIELDTYPE **)0); } @@ -205,20 +205,20 @@ FIELDTYPE *link_fieldtype( #undef field_info int field_info( - const FIELD *field, - int *rows, - int *cols, - int *frow, - int *fcol, - int *nrow, + const FIELD *field, + int *rows, + int *cols, + int *frow, + int *fcol, + int *nrow, int *nbuf) { return(*(int *)0); } #undef dynamic_field_info int dynamic_field_info( - const FIELD *field, - int *drows, - int *dcols, + const FIELD *field, + int *drows, + int *dcols, int *maxgrow) { return(*(int *)0); } @@ -226,7 +226,7 @@ int dynamic_field_info( #undef set_field_just int set_field_just( - FIELD *field, + FIELD *field, int just) { return(*(int *)0); } @@ -239,8 +239,8 @@ int field_just( #undef link_field FIELD *link_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(FIELD **)0); } @@ -248,7 +248,7 @@ FIELD *link_field( #undef set_max_field int set_max_field( - FIELD *field, + FIELD *field, int maxgrow) { return(*(int *)0); } @@ -256,8 +256,8 @@ int set_max_field( #undef move_field int move_field( - FIELD *field, - int frow, + FIELD *field, + int frow, int fcol) { return(*(int *)0); } @@ -269,10 +269,10 @@ FIELDTYPE *_nc_Default_FieldType; #undef new_fieldtype FIELDTYPE *new_fieldtype( NCURSES_BOOL (*const field_check)( - FIELD *p1, - const void *p2), + FIELD *p1, + const void *p2), NCURSES_BOOL (*const char_check)( - int p1, + int p1, const void *p2)) { return(*(FIELDTYPE **)0); } @@ -285,7 +285,7 @@ int free_fieldtype( #undef set_field_opts int set_field_opts( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -296,13 +296,13 @@ Field_Options field_opts( #undef field_opts_on int field_opts_on( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } #undef field_opts_off int field_opts_off( - FIELD *field, + FIELD *field, Field_Options opts) { return(*(int *)0); } @@ -310,7 +310,7 @@ int field_opts_off( #undef set_field_pad int set_field_pad( - FIELD *field, + FIELD *field, int ch) { return(*(int *)0); } @@ -323,7 +323,7 @@ int field_pad( #undef set_new_page int set_new_page( - FIELD *field, + FIELD *field, NCURSES_BOOL new_page_flag) { return(*(int *)0); } @@ -336,7 +336,7 @@ NCURSES_BOOL new_page( #undef set_field_status int set_field_status( - FIELD *field, + FIELD *field, NCURSES_BOOL status) { return(*(int *)0); } @@ -349,8 +349,8 @@ NCURSES_BOOL field_status( #undef set_field_type int set_field_type( - FIELD *field, - FIELDTYPE *type, + FIELD *field, + FIELDTYPE *type, ...) { return(*(int *)0); } @@ -363,7 +363,7 @@ FIELDTYPE *field_type( #undef set_field_userptr int set_field_userptr( - FIELD *field, + FIELD *field, void *usrptr) { return(*(int *)0); } @@ -398,7 +398,7 @@ FORM *_nc_Default_Form; #undef new_form_sp FORM *new_form_sp( - SCREEN *sp, + SCREEN *sp, FIELD **fields) { return(*(FORM **)0); } @@ -414,7 +414,7 @@ int free_form( #undef set_form_fields int set_form_fields( - FORM *form, + FORM *form, FIELD **fields) { return(*(int *)0); } @@ -432,8 +432,8 @@ int field_count( #undef _nc_get_fieldbuffer void _nc_get_fieldbuffer( - FORM *form, - FIELD *field, + FORM *form, + FIELD *field, cchar_t *buf) { /* void */ } @@ -454,13 +454,13 @@ int _nc_Synchronize_Attributes( #undef _nc_Synchronize_Options int _nc_Synchronize_Options( - FIELD *field, + FIELD *field, Field_Options newopts) { return(*(int *)0); } #undef _nc_Set_Current_Field int _nc_Set_Current_Field( - FORM *form, + FORM *form, FIELD *newfield) { return(*(int *)0); } @@ -476,40 +476,40 @@ FIELD *_nc_First_Active_Field( #undef _nc_Set_Form_Page int _nc_Set_Form_Page( - FORM *form, - int page, + FORM *form, + int page, FIELD *field) { return(*(int *)0); } typedef struct { - int keycode; - int (*cmd) (FORM *); + int keycode; + int (*cmd) (FORM *); } Binding_Info; #undef form_driver int form_driver( - FORM *form, + FORM *form, int c) { return(*(int *)0); } #undef set_field_buffer int set_field_buffer( - FIELD *field, - int buffer, + FIELD *field, + int buffer, const char *value) { return(*(int *)0); } #undef field_buffer char *field_buffer( - const FIELD *field, + const FIELD *field, int buffer) { return(*(char **)0); } #undef _nc_Widen_String wchar_t *_nc_Widen_String( - char *source, + char *source, int *lengthp) { return(*(wchar_t **)0); } @@ -517,7 +517,7 @@ wchar_t *_nc_Widen_String( #undef set_field_init int set_field_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -528,7 +528,7 @@ Form_Hook field_init( #undef set_field_term int set_field_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -539,7 +539,7 @@ Form_Hook field_term( #undef set_form_init int set_form_init( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -550,7 +550,7 @@ Form_Hook form_init( #undef set_form_term int set_form_term( - FORM *form, + FORM *form, Form_Hook func) { return(*(int *)0); } @@ -563,7 +563,7 @@ Form_Hook form_term( #undef set_form_opts int set_form_opts( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -574,13 +574,13 @@ Form_Options form_opts( #undef form_opts_on int form_opts_on( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } #undef form_opts_off int form_opts_off( - FORM *form, + FORM *form, Form_Options opts) { return(*(int *)0); } @@ -588,7 +588,7 @@ int form_opts_off( #undef set_form_page int set_form_page( - FORM *form, + FORM *form, int page) { return(*(int *)0); } @@ -625,8 +625,8 @@ int form_request_by_name( #undef scale_form int scale_form( - const FORM *form, - int *rows, + const FORM *form, + int *rows, int *cols) { return(*(int *)0); } @@ -634,7 +634,7 @@ int scale_form( #undef set_form_sub int set_form_sub( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); } @@ -647,7 +647,7 @@ WINDOW *form_sub( #undef set_form_userptr int set_form_userptr( - FORM *form, + FORM *form, void *usrptr) { return(*(int *)0); } @@ -660,7 +660,7 @@ void *form_userptr( #undef set_form_win int set_form_win( - FORM *form, + FORM *form, WINDOW *win) { return(*(int *)0); }