change a debug level
[Samba.git] / source / include / vt_mode.h
blob85b481122eee59e743766e14eaa729c48bb3b1ae
1 /* vt_mode.h */
2 /*
3 support vtp-sessions
5 written by Christian A. Lademann <cal@zls.com>
6 */
8 /*
9 02.05.95:cal:ported to samba-1.9.13
12 #ifndef __vt_mode_h__
13 # define __vt_mode_h__
15 # define VT_CLOSED 0
16 # define VT_OPEN 1
18 # define MS_NONE 0
19 # define MS_PTY 1
20 # define MS_STREAM 2
21 # define MS_VTY 3
23 # define VT_MAXREAD 32
26 # undef EXTERN
28 # ifndef __vt_mode_c__
29 # define EXTERN extern
30 # define DEFAULT(v)
31 # else
32 # define EXTERN
33 # define DEFAULT(v) =(v)
34 # endif
36 EXTERN int VT_Status DEFAULT(VT_CLOSED),
37 VT_Fd DEFAULT(-1),
38 VT_ChildPID DEFAULT(-1);
40 EXTERN BOOL VT_Mode DEFAULT(False),
41 VT_ChildDied DEFAULT(False);
43 EXTERN char *VT_Line DEFAULT(NULL);
45 # undef EXTERN
48 #endif /* __vt_mode_h__ */