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

#ifndef __TDF_SVID3_MENU_H
#define __TDF_SVID3_MENU_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__menu 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 MENU # svid3.menu.MENU
#pragma token TYPE ITEM # svid3.menu.ITEM
#pragma token EXP const : int : REQ_LEFT_ITEM # svid3.menu.REQ_LEFT_ITEM
#pragma token EXP const : int : REQ_RIGHT_ITEM # svid3.menu.REQ_RIGHT_ITEM
#pragma token EXP const : int : REQ_UP_ITEM # svid3.menu.REQ_UP_ITEM
#pragma token EXP const : int : REQ_DOWN_ITEM # svid3.menu.REQ_DOWN_ITEM
#pragma token EXP const : int : REQ_SCR_ULINE # svid3.menu.REQ_SCR_ULINE
#pragma token EXP const : int : REQ_SCR_DLINE # svid3.menu.REQ_SCR_DLINE
#pragma token EXP const : int : REQ_SCR_DPAGE # svid3.menu.REQ_SCR_DPAGE
#pragma token EXP const : int : REQ_SCR_UPAGE # svid3.menu.REQ_SCR_UPAGE
#pragma token EXP const : int : REQ_FIRST_ITEM # svid3.menu.REQ_FIRST_ITEM
#pragma token EXP const : int : REQ_LAST_ITEM # svid3.menu.REQ_LAST_ITEM
#pragma token EXP const : int : REQ_NEXT_ITEM # svid3.menu.REQ_NEXT_ITEM
#pragma token EXP const : int : REQ_PREV_ITEM # svid3.menu.REQ_PREV_ITEM
#pragma token EXP const : int : REQ_TOGGLE_ITEM # svid3.menu.REQ_TOGGLE_ITEM
#pragma token EXP const : int : REQ_CLEAR_PATTERN # svid3.menu.REQ_CLEAR_PATTERN
#pragma token EXP const : int : REQ_BACK_PATTERN # svid3.menu.REQ_BACK_PATTERN
#pragma token EXP const : int : REQ_NEXT_MATCH # svid3.menu.REQ_NEXT_MATCH
#pragma token EXP const : int : REQ_PREV_MATCH # svid3.menu.REQ_PREV_MATCH
#pragma token EXP const : OPTIONS : O_SELECTABLE # svid3.menu.O_SELECTABLE
#pragma token EXP const : OPTIONS : O_ONEVALUE # svid3.menu.O_ONEVALUE
#pragma token EXP const : OPTIONS : O_SHOWDESC # svid3.menu.O_SHOWDESC
#pragma token EXP const : OPTIONS : O_ROWMAJOR # svid3.menu.O_ROWMAJOR
#pragma token EXP const : OPTIONS : O_IGNORECASE # svid3.menu.O_IGNORECASE
#pragma token EXP const : OPTIONS : O_SHOWMATCH # svid3.menu.O_SHOWMATCH
#pragma token EXP const : OPTIONS : O_NONCYCLIC # svid3.menu.O_NONCYCLIC
#pragma token FUNC int (MENU *, chtype) : set_menu_fore # svid3.menu.set_menu_fore
#pragma token FUNC chtype (MENU *) : menu_fore # svid3.menu.menu_fore
#pragma token FUNC int (MENU *, chtype) : set_menu_back # svid3.menu.set_menu_back
#pragma token FUNC chtype (MENU *) : menu_back # svid3.menu.menu_back
#pragma token FUNC int (MENU *, chtype) : set_menu_grey # svid3.menu.set_menu_grey
#pragma token FUNC chtype (MENU *) : menu_grey # svid3.menu.menu_grey
#pragma token FUNC int (MENU *, int) : set_menu_pad # svid3.menu.set_menu_pad
#pragma token FUNC int (MENU *) : menu_pad # svid3.menu.menu_pad
#pragma token FUNC int (MENU *) : pos_menu_cursor # svid3.menu.pos_menu_cursor
#pragma token FUNC int (MENU *, int) : menu_driver # svid3.menu.menu_driver
#pragma token FUNC int (MENU *, int, int) : set_menu_format # svid3.menu.set_menu_format
#pragma token FUNC void (MENU *, int *, int *) : menu_format # svid3.menu.menu_format
#pragma token FUNC int (MENU *, void (*) ()) : set_item_init # svid3.menu.set_item_init
#pragma token FUNC int (MENU *, void (*) ()) : set_item_term # svid3.menu.set_item_term
#pragma token FUNC int (MENU *, void (*) ()) : set_menu_init # svid3.menu.set_menu_init
#pragma token FUNC int (MENU *, void (*) ()) : set_menu_term # svid3.menu.set_menu_term
typedef void (*__local_menu_fn) ();
#pragma token FUNC __local_menu_fn (MENU *) : item_init # svid3.menu.item_init
#pragma token FUNC __local_menu_fn (MENU *) : item_term # svid3.menu.item_term
#pragma token FUNC __local_menu_fn (MENU *) : menu_init # svid3.menu.menu_init
#pragma token FUNC __local_menu_fn (MENU *) : menu_term # svid3.menu.menu_term
#pragma token FUNC int (MENU *, ITEM *) : set_current_item # svid3.menu.set_current_item
#pragma token FUNC ITEM * (MENU *) : current_item # svid3.menu.current_item
#pragma token FUNC int (MENU *, int) : set_top_row # svid3.menu.set_top_row
#pragma token FUNC int (MENU *) : top_row # svid3.menu.top_row
#pragma token FUNC int (ITEM *) : item_index # svid3.menu.item_index
#pragma token FUNC char * (ITEM *) : item_name # svid3.menu.item_name
#pragma token FUNC char * (ITEM *) : item_description # svid3.menu.item_description
#pragma token FUNC ITEM * (char *, char *) : new_item # svid3.menu.new_item
#pragma token FUNC int (ITEM *) : free_item # svid3.menu.free_item
#pragma token FUNC int (ITEM *, OPTIONS) : set_item_opts # svid3.menu.set_item_opts
#pragma token FUNC int (ITEM *, OPTIONS) : item_opts_on # svid3.menu.item_opts_on
#pragma token FUNC int (ITEM *, OPTIONS) : item_opts_off # svid3.menu.item_opts_off
#pragma token FUNC OPTIONS (ITEM *) : item_opts # svid3.menu.item_opts
#pragma token FUNC int (ITEM *, char *) : set_item_userptr # svid3.menu.set_item_userptr
#pragma token FUNC char * (ITEM *) : item_userptr # svid3.menu.item_userptr
#pragma token FUNC int (ITEM *, int) : set_item_value # svid3.menu.set_item_value
#pragma token FUNC int (ITEM *) : item_value # svid3.menu.item_value
#pragma token FUNC int (ITEM *) : item_visible # svid3.menu.item_visible
#pragma token FUNC int (MENU *, ITEM **) : set_menu_items # svid3.menu.set_menu_items
#pragma token FUNC ITEM ** (MENU *) : menu_items # svid3.menu.menu_items
#pragma token FUNC int (MENU *) : item_count # svid3.menu.item_count
#pragma token FUNC int (MENU *, char *) : set_menu_mark # svid3.menu.set_menu_mark
#pragma token FUNC char * (MENU *) : menu_mark # svid3.menu.menu_mark
#pragma token FUNC MENU * (ITEM **) : new_menu # svid3.menu.new_menu
#pragma token FUNC int (MENU *) : free_menu # svid3.menu.free_menu
#pragma token FUNC int (MENU *, OPTIONS) : set_menu_opts # svid3.menu.set_menu_opts
#pragma token FUNC int (MENU *, OPTIONS) : item_menu_on # svid3.menu.item_menu_on
#pragma token FUNC int (MENU *, OPTIONS) : item_menu_off # svid3.menu.item_menu_off
#pragma token FUNC OPTIONS (MENU *) : menu_opts # svid3.menu.menu_opts
#pragma token FUNC int (MENU *, char *) : set_menu_pattern # svid3.menu.set_menu_pattern
#pragma token FUNC char * (MENU *) : menu_pattern # svid3.menu.menu_pattern
#pragma token FUNC int (MENU *) : post_menu # svid3.menu.post_menu
#pragma token FUNC int (MENU *) : unpost_menu # svid3.menu.unpost_menu
#pragma token FUNC int (MENU *, char *) : set_menu_useptr # svid3.menu.set_menu_useptr
#pragma token FUNC char * (MENU *) : menu_useptr # svid3.menu.menu_useptr
#pragma token FUNC int (MENU *, WINDOW *) : set_menu_win # svid3.menu.set_menu_win
#pragma token FUNC WINDOW * (MENU *) : menu_win # svid3.menu.menu_win
#pragma token FUNC int (MENU *, WINDOW *) : set_menu_sub # svid3.menu.set_menu_sub
#pragma token FUNC WINDOW * (MENU *) : menu_sub # svid3.menu.menu_sub
#pragma token FUNC int (MENU *, int *, int *) : scale_window # svid3.menu.scale_window
#endif /* __SYSV_TERMINAL_INTERFACE */

#if __SYSV_TERMINAL_INTERFACE
#pragma interface MENU ITEM REQ_LEFT_ITEM REQ_RIGHT_ITEM REQ_UP_ITEM
#pragma interface REQ_DOWN_ITEM REQ_SCR_ULINE REQ_SCR_DLINE REQ_SCR_DPAGE
#pragma interface REQ_SCR_UPAGE REQ_FIRST_ITEM REQ_LAST_ITEM REQ_NEXT_ITEM
#pragma interface REQ_PREV_ITEM REQ_TOGGLE_ITEM REQ_CLEAR_PATTERN
#pragma interface REQ_BACK_PATTERN REQ_NEXT_MATCH REQ_PREV_MATCH
#pragma interface O_SELECTABLE O_ONEVALUE O_SHOWDESC O_ROWMAJOR O_IGNORECASE
#pragma interface O_SHOWMATCH O_NONCYCLIC set_menu_fore menu_fore
#pragma interface set_menu_back menu_back set_menu_grey menu_grey
#pragma interface set_menu_pad menu_pad pos_menu_cursor menu_driver
#pragma interface set_menu_format menu_format set_item_init set_item_term
#pragma interface set_menu_init set_menu_term item_init item_term menu_init
#pragma interface menu_term set_current_item current_item set_top_row
#pragma interface top_row item_index item_name item_description new_item
#pragma interface free_item set_item_opts item_opts_on item_opts_off
#pragma interface item_opts set_item_userptr item_userptr set_item_value
#pragma interface item_value item_visible set_menu_items menu_items
#pragma interface item_count set_menu_mark menu_mark new_menu free_menu
#pragma interface set_menu_opts item_menu_on item_menu_off menu_opts
#pragma interface set_menu_pattern menu_pattern post_menu unpost_menu
#pragma interface set_menu_useptr menu_useptr set_menu_win menu_win
#pragma interface set_menu_sub menu_sub scale_window
#endif /* __SYSV_TERMINAL_INTERFACE */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_MENU_H */
