/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: svid3:form.h (VERSION 2.6)
*/

#ifndef __TDF_SVID3_FORM_H
#define __TDF_SVID3_FORM_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__form begin

#ifndef __TDF_SVID3__CONFIG
#pragma extend interface "../shared/svid3.api/config.h"
#endif /* __TDF_SVID3__CONFIG */
#if __SYSV_TERMINAL_INTERFACE
#ifndef __TDF_SVID3_CURSES_H
#pragma extend interface "../svid3.api/curses.h"
#endif /* __TDF_SVID3_CURSES_H */
#ifndef __TDF_SVID3_ETI_H
#pragma extend interface "../svid3.api/eti.h"
#endif /* __TDF_SVID3_ETI_H */
#pragma token TYPE FORM # svid3.form.FORM
#pragma token TYPE FIELD # svid3.form.FIELD
#pragma token TYPE FIELDTYPE # svid3.form.FIELDTYPE
#pragma token EXP const : int : REQ_NEXT_PAGE # svid3.form.REQ_NEXT_PAGE
#pragma token EXP const : int : REQ_PREV_PAGE # svid3.form.REQ_PREV_PAGE
#pragma token EXP const : int : REQ_FIRST_PAGE # svid3.form.REQ_FIRST_PAGE
#pragma token EXP const : int : REQ_LAST_PAGE # svid3.form.REQ_LAST_PAGE
#pragma token EXP const : int : REQ_NEXT_FIELD # svid3.form.REQ_NEXT_FIELD
#pragma token EXP const : int : REQ_PREV_FIELD # svid3.form.REQ_PREV_FIELD
#pragma token EXP const : int : REQ_FIRST_FIELD # svid3.form.REQ_FIRST_FIELD
#pragma token EXP const : int : REQ_LAST_FIELD # svid3.form.REQ_LAST_FIELD
#pragma token EXP const : int : REQ_SNEXT_FIELD # svid3.form.REQ_SNEXT_FIELD
#pragma token EXP const : int : REQ_SPREV_FIELD # svid3.form.REQ_SPREV_FIELD
#pragma token EXP const : int : REQ_SFIRST_FIELD # svid3.form.REQ_SFIRST_FIELD
#pragma token EXP const : int : REQ_SLAST_FIELD # svid3.form.REQ_SLAST_FIELD
#pragma token EXP const : int : REQ_LEFT_FIELD # svid3.form.REQ_LEFT_FIELD
#pragma token EXP const : int : REQ_RIGHT_FIELD # svid3.form.REQ_RIGHT_FIELD
#pragma token EXP const : int : REQ_UP_FIELD # svid3.form.REQ_UP_FIELD
#pragma token EXP const : int : REQ_DOWN_FIELD # svid3.form.REQ_DOWN_FIELD
#pragma token EXP const : int : REQ_NEXT_CHAR # svid3.form.REQ_NEXT_CHAR
#pragma token EXP const : int : REQ_PREV_CHAR # svid3.form.REQ_PREV_CHAR
#pragma token EXP const : int : REQ_NEXT_LINE # svid3.form.REQ_NEXT_LINE
#pragma token EXP const : int : REQ_PREV_LINE # svid3.form.REQ_PREV_LINE
#pragma token EXP const : int : REQ_NEXT_WORD # svid3.form.REQ_NEXT_WORD
#pragma token EXP const : int : REQ_PREV_WORD # svid3.form.REQ_PREV_WORD
#pragma token EXP const : int : REQ_BEG_FIELD # svid3.form.REQ_BEG_FIELD
#pragma token EXP const : int : REQ_END_FIELD # svid3.form.REQ_END_FIELD
#pragma token EXP const : int : REQ_BEG_LINE # svid3.form.REQ_BEG_LINE
#pragma token EXP const : int : REQ_END_LINE # svid3.form.REQ_END_LINE
#pragma token EXP const : int : REQ_LEFT_CHAR # svid3.form.REQ_LEFT_CHAR
#pragma token EXP const : int : REQ_RIGHT_CHAR # svid3.form.REQ_RIGHT_CHAR
#pragma token EXP const : int : REQ_UP_CHAR # svid3.form.REQ_UP_CHAR
#pragma token EXP const : int : REQ_DOWN_CHAR # svid3.form.REQ_DOWN_CHAR
#pragma token EXP const : int : REQ_NEW_LINE # svid3.form.REQ_NEW_LINE
#pragma token EXP const : int : REQ_INS_CHAR # svid3.form.REQ_INS_CHAR
#pragma token EXP const : int : REQ_INS_LINE # svid3.form.REQ_INS_LINE
#pragma token EXP const : int : REQ_DEL_CHAR # svid3.form.REQ_DEL_CHAR
#pragma token EXP const : int : REQ_DEL_PREV # svid3.form.REQ_DEL_PREV
#pragma token EXP const : int : REQ_DEL_LINE # svid3.form.REQ_DEL_LINE
#pragma token EXP const : int : REQ_DEL_WORD # svid3.form.REQ_DEL_WORD
#pragma token EXP const : int : REQ_CLR_EOL # svid3.form.REQ_CLR_EOL
#pragma token EXP const : int : REQ_CLR_EOF # svid3.form.REQ_CLR_EOF
#pragma token EXP const : int : REQ_CLR_FIELD # svid3.form.REQ_CLR_FIELD
#pragma token EXP const : int : REQ_OVL_MODE # svid3.form.REQ_OVL_MODE
#pragma token EXP const : int : REQ_INS_MODE # svid3.form.REQ_INS_MODE
#pragma token EXP const : int : REQ_SCR_FLINE # svid3.form.REQ_SCR_FLINE
#pragma token EXP const : int : REQ_SCR_BLINE # svid3.form.REQ_SCR_BLINE
#pragma token EXP const : int : REQ_SCR_FPAGE # svid3.form.REQ_SCR_FPAGE
#pragma token EXP const : int : REQ_SCR_BPAGE # svid3.form.REQ_SCR_BPAGE
#pragma token EXP const : int : REQ_SCR_FHPAGE # svid3.form.REQ_SCR_FHPAGE
#pragma token EXP const : int : REQ_SCR_BHPAGE # svid3.form.REQ_SCR_BHPAGE
#pragma token EXP const : int : REQ_SCR_FCHAR # svid3.form.REQ_SCR_FCHAR
#pragma token EXP const : int : REQ_SCR_BCHAR # svid3.form.REQ_SCR_BCHAR
#pragma token EXP const : int : REQ_SCR_HFLINE # svid3.form.REQ_SCR_HFLINE
#pragma token EXP const : int : REQ_SCR_HBLINE # svid3.form.REQ_SCR_HBLINE
#pragma token EXP const : int : REQ_SCR_HFHALF # svid3.form.REQ_SCR_HFHALF
#pragma token EXP const : int : REQ_SCR_HBHALF # svid3.form.REQ_SCR_HBHALF
#pragma token EXP const : int : REQ_VALIDATION # svid3.form.REQ_VALIDATION
#pragma token EXP const : int : REQ_NEXT_CHOICE # svid3.form.REQ_NEXT_CHOICE
#pragma token EXP const : int : REQ_PREV_CHOICE # svid3.form.REQ_PREV_CHOICE
#pragma token EXP const : int : NO_JUSTIFICATION # svid3.form.NO_JUSTIFICATION
#pragma token EXP const : int : JUSTIFY_RIGHT # svid3.form.JUSTIFY_RIGHT
#pragma token EXP const : int : JUSTIFY_LEFT # svid3.form.JUSTIFY_LEFT
#pragma token EXP const : int : JUSTIFY_CENTER # svid3.form.JUSTIFY_CENTER
#pragma token EXP const : OPTIONS : O_VISIBLE # svid3.form.O_VISIBLE
#pragma token EXP const : OPTIONS : O_ACTIVE # svid3.form.O_ACTIVE
#pragma token EXP const : OPTIONS : O_PUBLIC # svid3.form.O_PUBLIC
#pragma token EXP const : OPTIONS : O_EDIT # svid3.form.O_EDIT
#pragma token EXP const : OPTIONS : O_WRAP # svid3.form.O_WRAP
#pragma token EXP const : OPTIONS : O_BLANK # svid3.form.O_BLANK
#pragma token EXP const : OPTIONS : O_AUTOSKIP # svid3.form.O_AUTOSKIP
#pragma token EXP const : OPTIONS : O_NULLOK # svid3.form.O_NULLOK
#pragma token EXP const : OPTIONS : O_STATIC # svid3.form.O_STATIC
#pragma token EXP const : OPTIONS : O_PASSOK # svid3.form.O_PASSOK
#pragma token EXP const : OPTIONS : O_NL_OVERLOAD # svid3.form.O_NL_OVERLOAD
#pragma token EXP const : OPTIONS : O_BS_OVERLOAD # svid3.form.O_BS_OVERLOAD
#pragma token EXP const : FIELDTYPE * : TYPE_ALNUM # svid3.form.TYPE_ALNUM
#pragma token EXP const : FIELDTYPE * : TYPE_ALPHA # svid3.form.TYPE_ALPHA
#pragma token EXP const : FIELDTYPE * : TYPE_ENUM # svid3.form.TYPE_ENUM
#pragma token EXP const : FIELDTYPE * : TYPE_INTEGER # svid3.form.TYPE_INTEGER
#pragma token EXP const : FIELDTYPE * : TYPE_NUMERIC # svid3.form.TYPE_NUMERIC
#pragma token EXP const : FIELDTYPE * : TYPE_REGEXP # svid3.form.TYPE_REGEXP
#pragma token FUNC int (FORM *) : pos_form_cursor # svid3.form.pos_form_cursor
#pragma token FUNC int (FORM *) : data_ahead # svid3.form.data_ahead
#pragma token FUNC int (FORM *) : data_behind # svid3.form.data_behind
#pragma token FUNC int (FORM *, int) : form_driver # svid3.form.form_driver
#pragma token FUNC int (FORM *, FIELD **) : set_form_fields # svid3.form.set_form_fields
#pragma token FUNC FIELD ** (FORM *) : form_fields # svid3.form.form_fields
#pragma token FUNC int (FORM *) : field_count # svid3.form.field_count
#pragma token FUNC int (FIELD *, int, int) : move_field # svid3.form.move_field
#pragma token FUNC int (FIELD *, chtype) : set_field_fore # svid3.form.set_field_fore
#pragma token FUNC chtype (FIELD *) : field_fore # svid3.form.field_fore
#pragma token FUNC int (FIELD *, chtype) : set_field_back # svid3.form.set_field_back
#pragma token FUNC chtype (FIELD *) : field_back # svid3.form.field_back
#pragma token FUNC int (FIELD *, int) : set_field_pad # svid3.form.set_field_pad
#pragma token FUNC int (FIELD *) : field_pad # svid3.form.field_pad
#pragma token FUNC int (FIELD *, int, char *) : set_field_buffer # svid3.form.set_field_buffer
#pragma token FUNC char * (FIELD *, int) : field_buffer # svid3.form.field_buffer
#pragma token FUNC int (FIELD *, int) : set_field_status # svid3.form.set_field_status
#pragma token FUNC int (FIELD *) : field_status # svid3.form.field_status
#pragma token FUNC int (FIELD *, int) : set_max_field # svid3.form.set_max_field
#pragma token FUNC int (FIELD *, int *, int *, int *, int *, int *, int *) : field_info # svid3.form.field_info
#pragma token FUNC int (FIELD *, int *, int *, int *) : dynamic_field_info # svid3.form.dynamic_field_info
#pragma token FUNC int (FIELD *, int) : set_field_just # svid3.form.set_field_just
#pragma token FUNC int (FIELD *) : field_just # svid3.form.field_just
#pragma token FUNC FIELD * (int, int, int, int, int, int) : new_field # svid3.form.new_field
#pragma token FUNC FIELD * (FIELD *, int, int) : dup_field # svid3.form.dup_field
#pragma token FUNC FIELD * (FIELD *, int, int) : link_field # svid3.form.link_field
#pragma token FUNC int (FIELD *) : free_field # svid3.form.free_field
#pragma token FUNC int (FIELD *, OPTIONS) : set_field_opts # svid3.form.set_field_opts
#pragma token FUNC int (FIELD *, OPTIONS) : field_opts_on # svid3.form.field_opts_on
#pragma token FUNC int (FIELD *, OPTIONS) : field_opts_off # svid3.form.field_opts_off
#pragma token FUNC OPTIONS (FIELD *) : field_opts # svid3.form.field_opts
#pragma token FUNC int (FIELD *, char *) : set_field_userptr # svid3.form.set_field_userptr
#pragma token FUNC char * (FIELD *) : field_userptr # svid3.form.field_userptr
#pragma token FUNC int (FIELD *, FIELDTYPE *, ...) : set_field_type # svid3.form.set_field_type
#pragma token FUNC FIELDTYPE * (FIELD *) : field_type # svid3.form.field_type
#pragma token FUNC char * (FIELD *) : field_arg # svid3.form.field_arg
#pragma token FUNC FIELDTYPE * (int (*) (), int (*) ()) : new_fieldtype # svid3.form.new_fieldtype
#pragma token FUNC int (FIELDTYPE *) : free_fieldtype # svid3.form.free_fieldtype
#pragma token FUNC int (FIELDTYPE *, char *(*) (), char *(*) (), void (*) ()) : set_fieldtype_arg # svid3.form.set_fieldtype_arg
#pragma token FUNC FIELDTYPE * (FIELDTYPE *, FIELDTYPE *) : link_fieldtype # svid3.form.link_fieldtype
#pragma token FUNC int (FORM *, void (*) ()) : set_form_init # svid3.form.set_form_init
#pragma token FUNC int (FORM *, void (*) ()) : set_form_term # svid3.form.set_form_term
#pragma token FUNC int (FORM *, void (*) ()) : set_field_init # svid3.form.set_field_init
#pragma token FUNC int (FORM *, void (*) ()) : set_field_term # svid3.form.set_field_term
typedef void (*__local_form_fn) ();
#pragma token FUNC __local_form_fn (FORM *) : form_init # svid3.form.form_init
#pragma token FUNC __local_form_fn (FORM *) : form_term # svid3.form.form_term
#pragma token FUNC __local_form_fn (FORM *) : field_init # svid3.form.field_init
#pragma token FUNC __local_form_fn (FORM *) : field_term # svid3.form.field_term
#pragma token FUNC FORM * (FIELD **) : new_form # svid3.form.new_form
#pragma token FUNC int (FORM *) : free_form # svid3.form.free_form
#pragma token FUNC int (FIELD *, int) : set_new_page # svid3.form.set_new_page
#pragma token FUNC int (FIELD *) : new_page # svid3.form.new_page
#pragma token FUNC int (FORM *, OPTIONS) : set_form_opts # svid3.form.set_form_opts
#pragma token FUNC int (FORM *, OPTIONS) : form_opts_on # svid3.form.form_opts_on
#pragma token FUNC int (FORM *, OPTIONS) : form_opts_off # svid3.form.form_opts_off
#pragma token FUNC OPTIONS (FORM *) : form_opts # svid3.form.form_opts
#pragma token FUNC int (FORM *, int) : set_form_page # svid3.form.set_form_page
#pragma token FUNC int (FORM *) : form_page # svid3.form.form_page
#pragma token FUNC int (FORM *, FIELD *) : set_current_field # svid3.form.set_current_field
#pragma token FUNC FIELD * (FORM *) : current_field # svid3.form.current_field
#pragma token FUNC int (FIELD *) : field_index # svid3.form.field_index
#pragma token FUNC int (FORM *) : post_form # svid3.form.post_form
#pragma token FUNC int (FORM *) : unpost_form # svid3.form.unpost_form
#pragma token FUNC int (FORM *, char *) : set_form_usrptr # svid3.form.set_form_usrptr
#pragma token FUNC char * (FORM *) : form_usrptr # svid3.form.form_usrptr
#pragma token FUNC int (FORM *, WINDOW *) : set_form_win # svid3.form.set_form_win
#pragma token FUNC WINDOW * (FORM *) : form_win # svid3.form.form_win
#pragma token FUNC int (FORM *, WINDOW *) : set_form_sub # svid3.form.set_form_sub
#pragma token FUNC WINDOW * (FORM *) : form_sub # svid3.form.form_sub
#pragma token FUNC int (FORM *, int *, int *) : scale_form # svid3.form.scale_form
#endif /* __SYSV_TERMINAL_INTERFACE */

#if __SYSV_TERMINAL_INTERFACE
#pragma interface FORM FIELD FIELDTYPE REQ_NEXT_PAGE REQ_PREV_PAGE
#pragma interface REQ_FIRST_PAGE REQ_LAST_PAGE REQ_NEXT_FIELD REQ_PREV_FIELD
#pragma interface REQ_FIRST_FIELD REQ_LAST_FIELD REQ_SNEXT_FIELD
#pragma interface REQ_SPREV_FIELD REQ_SFIRST_FIELD REQ_SLAST_FIELD
#pragma interface REQ_LEFT_FIELD REQ_RIGHT_FIELD REQ_UP_FIELD REQ_DOWN_FIELD
#pragma interface REQ_NEXT_CHAR REQ_PREV_CHAR REQ_NEXT_LINE REQ_PREV_LINE
#pragma interface REQ_NEXT_WORD REQ_PREV_WORD REQ_BEG_FIELD REQ_END_FIELD
#pragma interface REQ_BEG_LINE REQ_END_LINE REQ_LEFT_CHAR REQ_RIGHT_CHAR
#pragma interface REQ_UP_CHAR REQ_DOWN_CHAR REQ_NEW_LINE REQ_INS_CHAR
#pragma interface REQ_INS_LINE REQ_DEL_CHAR REQ_DEL_PREV REQ_DEL_LINE
#pragma interface REQ_DEL_WORD REQ_CLR_EOL REQ_CLR_EOF REQ_CLR_FIELD
#pragma interface REQ_OVL_MODE REQ_INS_MODE REQ_SCR_FLINE REQ_SCR_BLINE
#pragma interface REQ_SCR_FPAGE REQ_SCR_BPAGE REQ_SCR_FHPAGE REQ_SCR_BHPAGE
#pragma interface REQ_SCR_FCHAR REQ_SCR_BCHAR REQ_SCR_HFLINE REQ_SCR_HBLINE
#pragma interface REQ_SCR_HFHALF REQ_SCR_HBHALF REQ_VALIDATION
#pragma interface REQ_NEXT_CHOICE REQ_PREV_CHOICE NO_JUSTIFICATION
#pragma interface JUSTIFY_RIGHT JUSTIFY_LEFT JUSTIFY_CENTER O_VISIBLE
#pragma interface O_ACTIVE O_PUBLIC O_EDIT O_WRAP O_BLANK O_AUTOSKIP
#pragma interface O_NULLOK O_STATIC O_PASSOK O_NL_OVERLOAD O_BS_OVERLOAD
#pragma interface TYPE_ALNUM TYPE_ALPHA TYPE_ENUM TYPE_INTEGER TYPE_NUMERIC
#pragma interface TYPE_REGEXP pos_form_cursor data_ahead data_behind
#pragma interface form_driver set_form_fields form_fields field_count
#pragma interface move_field set_field_fore field_fore set_field_back
#pragma interface field_back set_field_pad field_pad set_field_buffer
#pragma interface field_buffer set_field_status field_status set_max_field
#pragma interface field_info dynamic_field_info set_field_just field_just
#pragma interface new_field dup_field link_field free_field set_field_opts
#pragma interface field_opts_on field_opts_off field_opts set_field_userptr
#pragma interface field_userptr field_type field_arg new_fieldtype
#pragma interface free_fieldtype set_fieldtype_arg link_fieldtype
#pragma interface set_form_init set_form_term set_field_init set_field_term
#pragma interface form_init form_term field_init field_term new_form
#pragma interface free_form set_new_page new_page set_form_opts form_opts_on
#pragma interface form_opts_off form_opts set_form_page form_page
#pragma interface set_current_field current_field field_index post_form
#pragma interface unpost_form set_form_usrptr form_usrptr set_form_win
#pragma interface form_win set_form_sub form_sub scale_form
#endif /* __SYSV_TERMINAL_INTERFACE */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_FORM_H */
