console_login.h
Go to the documentation of this file.
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef CONSOLE_LOGIN_H
#define CONSOLE_LOGIN_H
int console_login(const char *service, char *name, int namelen, char *pass, int passlen);
int console_input(const char *prompt, char *buf, int buflen);
#endif
console_input
int console_input(const char *prompt, char *buf, int buflen)
Read a string from the console.
console_login
int console_login(const char *service, char *name, int namelen, char *pass, int passlen)
Read a name and password from the console.