1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/include/vt_mode.h
Andrew Tridgell ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00

49 lines
726 B
C

/* vt_mode.h */
/*
support vtp-sessions
written by Christian A. Lademann <cal@zls.com>
*/
/*
02.05.95:cal:ported to samba-1.9.13
*/
#ifndef __vt_mode_h__
# define __vt_mode_h__
# define VT_CLOSED 0
# define VT_OPEN 1
# define MS_NONE 0
# define MS_PTY 1
# define MS_STREAM 2
# define MS_VTY 3
# define VT_MAXREAD 32
# undef EXTERN
# ifndef __vt_mode_c__
# define EXTERN extern
# define DEFAULT(v)
# else
# define EXTERN
# define DEFAULT(v) =(v)
# endif
EXTERN int VT_Status DEFAULT(VT_CLOSED),
VT_Fd DEFAULT(-1),
VT_ChildPID DEFAULT(-1);
EXTERN BOOL VT_Mode DEFAULT(False),
VT_ChildDied DEFAULT(False);
EXTERN char *VT_Line DEFAULT(NULL);
# undef EXTERN
#endif /* __vt_mode_h__ */