From 9e5d6c002ca589fb2e767fc8bafd6ceddaa12d39 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 21 Jan 2003 20:55:56 +0000 Subject: run telnet from inetd, present login prompt if login is configured, patch from Bastian Blank --- include/libbb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index d67bf07ec..42e89a5e9 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -277,7 +277,6 @@ extern const char * const gshadow_file; extern const char * const group_file; extern const char * const securetty_file; extern const char * const motd_file; -extern const char * const issue_file; extern const char * const _path_login; #ifdef CONFIG_FEATURE_DEVFS @@ -365,4 +364,7 @@ typedef struct llist_s { } llist_t; extern llist_t *llist_add_to(llist_t *old_head, char *new_item); +void print_login_issue(const char *issue_file, const char *tty); +void print_login_prompt(void); + #endif /* __LIBCONFIG_H__ */ -- cgit v1.2.3