summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet/telnetd/ext.h
Commit message (Collapse)AuthorAgeFilesLines
* Unbundle applications into separate repositoryGreg Hudson2009-11-221-242/+0
| | | | | | | | | | | | | | | Remove libpty, gssftp, telnet, and the bsd applications from the source tree, build system, and tests. Docs still need to be updated to remove mentions of the applications. The build system should be simplified now that we're down to one configure script and don't need some of the functionality currently in aclocal.m4. ticket: 6583 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23305 dc483132-0cff-0310-8789-dd5450dbe970
* Supply missing fn declarationsKen Raeburn2009-02-091-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21915 dc483132-0cff-0310-8789-dd5450dbe970
* Attach format attributes to declarations of various message-formattingKen Raeburn2007-06-291-3/+15
| | | | | | | | | | | | | routines under gcc. In a couple of routines, hard-code the preference for using the vsnprintf paths instead of list-of-int-arguments hacks now that we're assuming vsnprintf is available in other places. Installed headers affected: com_err.h (com_err, com_err_va) ss.h (ss_error) krb5.h (krb5_set_error_message, krb5_vset_error_message) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19653 dc483132-0cff-0310-8789-dd5450dbe970
* Cleanup some warnings on missing prototypesEzra Peisach2006-10-151-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18715 dc483132-0cff-0310-8789-dd5450dbe970
* Merge Athena changes for requiring encrypted connectionsTom Yu2004-11-151-0/+4
| | | | | | | ticket: 841 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16866 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test for speed_t being presentEzra Peisach2002-11-151-1/+1
| | | | | | | | | * sys_term.c (addarg): When reallocing memory, ensure in size of pointer. Use speed_t instead of int for termspeeds. * authenc.c, ext.h, state.c, utility.c: Unsigned/signed cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15012 dc483132-0cff-0310-8789-dd5450dbe970
* * ext.h: Always use prototype declarationsKen Raeburn2001-08-311-93/+85
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13706 dc483132-0cff-0310-8789-dd5450dbe970
* * authenc.c (net_write): Rewrite in terms of netwrite()Tom Yu2001-08-021-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Check for vsnprintf(). * ext.h: New prototypes for netprintf, netprintf_urg, netprintf_noflush, netwrite, netputs. * slc.c: Fix to use new NETOBUF-handling functions. * state.c: Fix to use new NETOBUF-handling functions. * telnetd.c: Fix to use new NETOBUF-handling functions. * termstat.c: Fix to use new NETOBUF-handling functions. * utility.c: General rework to be more paranoid about bounds-checking of NETOBUF and NFRONTP. Abstract away interactions with NETOBUF to eliminate explicit references to NFRONTP in many places. (netwrite): New function; copies a buffer to the NETOBUF "ring buffer", checking bounds and calling netflush() if needed. (netputs): New function; calls netwrite() with a nul-terminated string. (netprintf, netprintf_ext): New function; wrap sprintf() with bounds checking for use with NETOBUF. (netprintf_urg): New function; like netprintf() except sets neturg to point at last char written. (netprintf_noflush): New function; like netprintf() except silently fails if NETOBUF is full. (ttloop, printoption, printsub, printdata): Fix to use new NETOBUF-handling functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13669 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test if prototypes needed for setenv and unsetenvEzra Peisach2001-06-211-0/+6
| | | | | | * ext.h: Provide prototypes for unsetenv and setenv if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13454 dc483132-0cff-0310-8789-dd5450dbe970
* * ext.h: Remove unused prototype for start_slave() and replaceEzra Peisach2001-06-071-5/+1
| | | | | | | | | | | | | | | | | with one for startslave(). * state.c: Add libtlnet/encrypt.h for missing prototypes. * sys_term.c: Add prototype for dup_tty(). Change getptyslave() from int to void. Cleanup an assignment in conditional warning. * telnetd.c: Include libtelnet/misc-proto.h. Declare return from terminaltypeok() and main() as int. * utility.c: Include libtelnet/auth.h and libtelnet/encrypt.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13286 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (getterminaltype): Null-terminate strings and avoid aDan Winship1998-01-271-1/+1
| | | | | | | | | | | buffer overrun. * ext.h: make terminaltype a char[] instead of a char * for telnetd.c change * state.c (suboption): redo handling of terminaltype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10380 dc483132-0cff-0310-8789-dd5450dbe970
* telnetd.c (telnet, get_default_IM): Instead of using a hardcoded IMTheodore Tso1998-01-241-19/+0
| | | | | | | | | variable, use one which is dynamically generated from the uname() system call. ext.h: Remove definition of DEFAULT_IM, since it's no longer used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10376 dc483132-0cff-0310-8789-dd5450dbe970
* * Changes to not use streams on HPUXSam Hartman1996-04-161-1/+1
| | | | | | | | * Changes to abort the session if telnetd receives certain options such as environment or DISPLAY options before authentication and encryption is negotiated or not negotiated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7818 dc483132-0cff-0310-8789-dd5450dbe970
* Call a krb5 cleanup routine to cleanup forwarded credentials, if necessaryRichard Basch1996-04-121-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7798 dc483132-0cff-0310-8789-dd5450dbe970
* * Apply patch from Ken Raeburn to get telnetd compiling on the SGISam Hartman1996-03-241-4/+1
| | | | | | | | | | | * Force telnetd not to use streams on the SGI; it doesn't support pushing modules onto a pty. * Remove old utmpx crud from sys_term.c because it was getting called inadvertently, didn't compile on the SGI, and libpty already does something reasonable with utmpx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7705 dc483132-0cff-0310-8789-dd5450dbe970
* * ext.h, utility.c (fatalperror, fatal): Add const to argumentEzra Peisach1996-02-241-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7519 dc483132-0cff-0310-8789-dd5450dbe970
* Updated telnet to be the 94.02.07 version, with some bugfixesTheodore Tso1994-06-101-6/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3704 dc483132-0cff-0310-8789-dd5450dbe970
* Initial VersionTheodore Tso1993-03-091-0/+236
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2524 dc483132-0cff-0310-8789-dd5450dbe970