add AUTH_BROKEN and PATH_RSH

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3982 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-12 04:55:48 +00:00
parent dc3801f992
commit e257fda9b3

View File

@@ -51,6 +51,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
@@ -113,7 +116,7 @@
*
*/
enum auth_method { AUTH_KRB4, AUTH_KRB5 };
enum auth_method { AUTH_KRB4, AUTH_KRB5, AUTH_BROKEN };
extern enum auth_method auth_method;
extern int do_encrypt;
@@ -129,6 +132,8 @@ extern des_cblock iv;
#define RSH_BUFSIZ 10240
#define PATH_RSH BINDIR "/rsh"
ssize_t do_read (int fd, void *buf, size_t sz);
ssize_t do_write (int fd, void *buf, size_t sz);
ssize_t net_read (int fd, void *buf, size_t len);