diff options
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); |