#ifndef _DM_LIB_DM_GLOBALS_H_
#define _DM_LIB_DM_GLOBALS_H_

/***   context variables   ***/
extern aFrame	*context[MAX_FRAME_STACK];
extern aFrame	*extracts[MAX_FRAME_STACK];
extern aFrame	*history[MAX_FRAME_STACK];

extern int	hist_idx;
extern Prompt   prompted;
extern char	*prompt;
extern char	prompt_str[];
extern aFrame	*focus;

extern int	row_in_focus;
extern int	hangup;
extern int	ins_ctr;
extern int	backoff_cnt;
extern int	db_rows;

extern char	query_key[];
extern char	prompt_text[];


extern DateTime	today;
extern DateTime	ref_date;
extern DateTime	dt;

extern char	        *mode;
extern aFrameDef	*ontology;
extern int		num_forms;
extern int	        MaxPrompt;

#endif
