diff options
Diffstat (limited to 'include/ttyent.h')
-rw-r--r-- | include/ttyent.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ttyent.h b/include/ttyent.h index e0f00f6..97dca3f 100644 --- a/include/ttyent.h +++ b/include/ttyent.h @@ -45,6 +45,8 @@ #define _TTYS_WINDOW "window" #define _TTYS_GROUP "group" #define _TTYS_NOGROUP "none" +#define _TTYS_DIALUP "dialup" +#define _TTYS_NETWORK "network" struct ttyent { char *ty_name; /* terminal device name */ @@ -52,6 +54,8 @@ struct ttyent { char *ty_type; /* terminal type for termcap */ #define TTY_ON 0x01 /* enable logins (start ty_getty program) */ #define TTY_SECURE 0x02 /* allow uid of 0 to login */ +#define TTY_DIALUP 0x04 /* is a dialup tty */ +#define TTY_NETWORK 0x08 /* is a network tty */ int ty_status; /* status flags */ char *ty_window; /* command to start up window manager */ char *ty_comment; /* comment field */ @@ -65,6 +69,8 @@ struct ttyent *getttyent __P((void)); struct ttyent *getttynam __P((const char *)); int setttyent __P((void)); int endttyent __P((void)); +int isdialuptty __P((const char *)); +int isnettty __P((const char *)); __END_DECLS #endif /* !_TTYENT_H_ */ |