diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-07 23:08:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-07 23:08:25 +0000 |
commit | 9e65e9c7a51ead19884940883947ed2a15905408 (patch) | |
tree | 1dc3b99bdffefaabff3c08623b51e85a6ef5b59f /libexec/telnetd/ext.h | |
parent | c9a9aa6ca709882e456d620b05c5b8e91e8f00ba (diff) |
Backout unrelated changes in last commit
Diffstat (limited to 'libexec/telnetd/ext.h')
-rw-r--r-- | libexec/telnetd/ext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/telnetd/ext.h b/libexec/telnetd/ext.h index 5f911a2980b..dba7049e543 100644 --- a/libexec/telnetd/ext.h +++ b/libexec/telnetd/ext.h @@ -51,6 +51,7 @@ extern int restartany; /* restart output on any character state */ #ifdef DIAGNOSTICS extern int diagnostic; /* telnet diagnostic capabilities */ #endif /* DIAGNOSTICS */ +extern int require_otp; #ifdef AUTHENTICATION extern int auth_level; #endif @@ -117,7 +118,7 @@ void tty_tspeed (int val); void tty_rspeed (int val); void getptyslave (void); int cleanopen (char *line); -void startslave (const char *host, int channel[2]); +void startslave (const char *host, const char *, int autologin, char *autoname); void init_env (void); void start_login (const char *host, int autologin, char *name); void cleanup (int sig); @@ -125,7 +126,7 @@ int main (int argc, char **argv); int getterminaltype (char *name, size_t); void _gettermname (void); int terminaltypeok (char *s); -void my_telnet (int f, int p, const char *, const char *, int, char *, char *, FILE *); +void my_telnet (int f, int p, const char*, const char *, int, char*); void interrupt (void); void sendbrk (void); void sendsusp (void); |