From f1523706c3ba859f11dce973e7153504a342c020 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 11 Mar 1999 16:53:35 +0000 Subject: [PATCH] add prototypes, and defaults for _PATH_* git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5517 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/login_locl.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/appl/login/login_locl.h b/appl/login/login_locl.h index a6ada6cc0..dbf93ea1c 100644 --- a/appl/login/login_locl.h +++ b/appl/login/login_locl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 Kungliga Tekniska Högskolan + * Copyright (c) 1997, 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -71,6 +71,15 @@ #include #endif +#ifndef _PATH_BSHELL +#define _PATH_BSHELL "/bin/sh" +#endif +#ifndef _PATH_TTY +#define _PATH_TTY "/dev/tty" +#endif +#ifndef _PATH_DEV +#define _PATH_DEV "/dev/" +#endif #ifndef _PATH_WTMP #ifdef WTMP_FILE #define _PATH_WTMP WTMP_FILE @@ -79,10 +88,12 @@ #endif #endif -int read_string(const char*, char*, size_t, int); - char *clean_ttyname (char*); char *make_id (char*); - +void prepare_utmp (struct utmp*, char*, const char*, const char*); +int read_string (const char*, char*, size_t, int); +void stty_default (void); +void utmp_login (char*, const char*, const char*); +int utmpx_login (char*, const char*, const char*); #endif /* __LOGIN_LOCL_H__ */