ReactOS  0.4.12-dev-102-g4b7f1e0
tnconfig.cpp File Reference
#include "precomp.h"
#include <locale.h>
#include <io.h>
#include <sys/stat.h>
Include dependency graph for tnconfig.cpp:

Go to the source code of this file.

Classes

struct  ini_variable
 

Enumerations

enum  ini_data_type { INI_STRING, INI_INT, INI_BOOL }
 
enum  {
  INIFILE, KEYFILE, DUMPFILE, DEFAULT_CONFIG,
  TERM, INPUT_REDIR, OUTPUT_REDIR, STRIP_REDIR,
  DSTRBKSP, EIGHTBIT_ANSI, VT100_MODE, DISABLE_BREAK,
  SPEAKER_BEEP, DO_BEEP, PRESERVE_COLORS, WRAP_LINE,
  LOCK_LINEWRAP, FAST_WRITE, TERM_WIDTH, TERM_HEIGHT,
  WINDOW_WIDTH, WINDOW_HEIGHT, WIDE_ENABLE, CTRLBREAK_AS_CTRLC,
  BUFFER_SIZE, SET_TITLE, BLINK_BG, BLINK_FG,
  UNDERLINE_BG, UNDERLINE_FG, ULBLINK_BG, ULBLINK_FG,
  NORMAL_BG, NORMAL_FG, SCROLL_BG, SCROLL_FG,
  STATUS_BG, STATUS_FG, PRINTER_NAME, ENABLE_MOUSE,
  ESCAPE_KEY, SCROLLBACK_KEY, DIAL_KEY, ALT_ERASE,
  KEYBOARD_PASTE, SCROLL_MODE, SCROLL_SIZE, SCROLL_ENABLE,
  SCRIPTNAME, SCRIPT_ENABLE, NETPIPE, IOPIPE,
  MAX_INI_VARS
}
 
enum  {
  KEYBOARD, TERMINAL, COLORS, MOUSE,
  PRINTER, SCROLLBACK, SCRIPTING, PIPES,
  MAX_INI_GROUPS
}
 

Functions

bool find_alias (const char *alias_name)
 

Variables

TConfig ini
 
ini_variable ini_varlist [MAX_INI_VARS]
 
charini_groups [MAX_INI_GROUPS]
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INIFILE 
KEYFILE 
DUMPFILE 
DEFAULT_CONFIG 
TERM 
INPUT_REDIR 
OUTPUT_REDIR 
STRIP_REDIR 
DSTRBKSP 
EIGHTBIT_ANSI 
VT100_MODE 
DISABLE_BREAK 
SPEAKER_BEEP 
DO_BEEP 
PRESERVE_COLORS 
WRAP_LINE 
LOCK_LINEWRAP 
FAST_WRITE 
TERM_WIDTH 
TERM_HEIGHT 
WINDOW_WIDTH 
WINDOW_HEIGHT 
WIDE_ENABLE 
CTRLBREAK_AS_CTRLC 
BUFFER_SIZE 
SET_TITLE 
BLINK_BG 
BLINK_FG 
UNDERLINE_BG 
UNDERLINE_FG 
ULBLINK_BG 
ULBLINK_FG 
NORMAL_BG 
NORMAL_FG 
SCROLL_BG 
SCROLL_FG 
STATUS_BG 
STATUS_FG 
PRINTER_NAME 
ENABLE_MOUSE 
ESCAPE_KEY 
SCROLLBACK_KEY 
DIAL_KEY 
ALT_ERASE 
KEYBOARD_PASTE 
SCROLL_MODE 
SCROLL_SIZE 
SCROLL_ENABLE 
SCRIPTNAME 
SCRIPT_ENABLE 
NETPIPE 
IOPIPE 
MAX_INI_VARS 

Definition at line 128 of file tnconfig.cpp.

128  {
129  INIFILE,
130  KEYFILE,
131  DUMPFILE,
133  TERM,
134  INPUT_REDIR,
135  OUTPUT_REDIR,
136  STRIP_REDIR,
137  DSTRBKSP,
139  VT100_MODE,
141  SPEAKER_BEEP,
142  DO_BEEP,
144  WRAP_LINE,
146  FAST_WRITE,
147  TERM_WIDTH,
148  TERM_HEIGHT,
149  WINDOW_WIDTH,
151  WIDE_ENABLE,
153  BUFFER_SIZE,
154  SET_TITLE,
155  BLINK_BG,
156  BLINK_FG,
157  UNDERLINE_BG,
158  UNDERLINE_FG,
159  ULBLINK_BG,
160  ULBLINK_FG,
161  NORMAL_BG,
162  NORMAL_FG,
163  SCROLL_BG,
164  SCROLL_FG,
165  STATUS_BG,
166  STATUS_FG,
167  PRINTER_NAME,
168  ENABLE_MOUSE,
169  ESCAPE_KEY,
171  DIAL_KEY,
172  ALT_ERASE,
174  SCROLL_MODE,
175  SCROLL_SIZE,
177  SCRIPTNAME,
179  NETPIPE,
180  IOPIPE,
181 
182  MAX_INI_VARS // must be last
183 };

◆ anonymous enum

anonymous enum
Enumerator
KEYBOARD 
TERMINAL 
COLORS 
MOUSE 
PRINTER 
SCROLLBACK 
SCRIPTING 
PIPES 
MAX_INI_GROUPS 

Definition at line 196 of file tnconfig.cpp.

196  {
197  KEYBOARD,
198  TERMINAL,
199  COLORS,
200  MOUSE,
201  PRINTER,
202  SCROLLBACK,
203  SCRIPTING,
204  PIPES,
205 
206  MAX_INI_GROUPS // Must be last
207 };

◆ ini_data_type

Enumerator
INI_STRING 
INI_INT 
INI_BOOL 

Definition at line 122 of file tnconfig.cpp.

122  {
123  INI_STRING,
124  INI_INT,
125  INI_BOOL
126 };

Function Documentation

◆ find_alias()

bool find_alias ( const char alias_name)

Definition at line 379 of file tnconfig.cpp.

379  {
380  return false;
381 }

Variable Documentation

◆ ini

◆ ini_groups

◆ ini_varlist

ini_variable ini_varlist[MAX_INI_VARS]

Definition at line 194 of file tnconfig.cpp.