#include <sys/time.h>
#include <db.h>
#include <regex.h>
typedef struct _cb CB;
typedef struct _event EVENT;
typedef struct _excmd EXCMD;
typedef struct _exf EXF;
typedef struct _fref FREF;
typedef struct _gs GS;
typedef struct _lmark LMARK;
typedef struct _mark MARK;
typedef struct _msg MSGS;
typedef struct _option OPTION;
typedef struct _optlist OPTLIST;
typedef struct _scr SCR;
typedef struct _script SCRIPT;
typedef struct _seq SEQ;
typedef struct _tag TAG;
typedef struct _tagf TAGF;
typedef struct _tagq TAGQ;
typedef struct _text TEXT;
typedef enum { C_NOTSET, C_CARATSET, C_NOCHANGE, C_ZEROSET } carat_t;
typedef enum { BUSY_ON = 1, BUSY_OFF, BUSY_UPDATE } busy_t;
typedef enum { CONF_NO, CONF_QUIT, CONF_YES } conf_t;
typedef enum { NOTSET, FORWARD, BACKWARD } dir_t;
typedef enum { LINE_APPEND, LINE_DELETE, LINE_INSERT, LINE_RESET } lnop_t;
typedef enum { LOCK_FAILED, LOCK_SUCCESS, LOCK_UNAVAIL } lockr_t;
typedef enum { SEQ_ABBREV, SEQ_COMMAND, SEQ_INPUT } seq_t;
extern enum pmode { MODE_EX, MODE_VI, MODE_VIEW } pmode;
#include "key.h"
#include "args.h"
#include "options.h"
#include "msg.h"
#include "cut.h"
#include "seq.h"
#include "util.h"
#include "mark.h"
#include "../ex/ex.h"
#include "gs.h"
#include "screen.h"
#include "exf.h"
#include "log.h"
#include "mem.h"
#include "com_extern.h"