cctools
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
dttools
src
console_login.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3
Copyright (C) 2005- The University of Notre Dame
4
This software is distributed under the GNU General Public License.
5
See the file COPYING for details.
6
*/
7
8
#ifndef CONSOLE_LOGIN_H
9
#define CONSOLE_LOGIN_H
10
25
int
console_login
(
const
char
*service,
char
*name,
int
namelen,
char
*pass,
int
passlen);
26
35
int
console_input
(
const
char
*prompt,
char
*buf,
int
buflen);
36
37
#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.
Generated by
1.8.5