1
/* This software is subject to the terms of the Common Public License
2
You must accept the terms of this license to use this software.
4
Copyright (C) 2002, International Business Machines Corporation
5
and others. All Rights Reserved.
7
Further information about Common Public License Version 0.5 is obtained
8
from url http://oss.software.ibm.com/developer/opensource/license-cpl.html */
15
#if defined(HAVE_CONFIGH_H)
16
# include "../config.h"
21
/** enumeration of states VT100 transits */
42
* VT100 protocol machine
43
* This struct is typedefed to `VT100'.
45
typedef struct _VT100 {
46
State all_states[NUM_STATE];
47
/**< all of states which VT100 object moves to */
49
/**< reference to current state */
51
/**< typedefed struct of struct _VT100 */
56
void VT100_parse(VT100 *vt100, Char *ch);
57
void VT100_register_sequence(VT100 *vt100,unsigned char *sequence,
58
state_t next_state, callback_func func,
60
void VT100_destroy(VT100 *vt100);
61
/** VT100 methods end */