~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/get_password.h

  • Committer: Monty Taylor
  • Date: 2010-06-19 16:36:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1628.
  • Revision ID: mordred@inaugust.com-20100619163652-6fej38011wsop52k
Moved password parsing code into get_password.cc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef CLIENT_GET_PASSWORD_H
21
21
#define CLIENT_GET_PASSWORD_H
22
22
 
23
 
#ifdef __cplusplus
24
 
extern "C" {
25
 
#endif
26
 
 
27
 
  char *client_get_tty_password(const char *opt_message);
28
 
 
29
 
#ifdef __cplusplus
30
 
}
31
 
#endif
 
23
#include <string>
 
24
 
 
25
char *client_get_tty_password(const char *opt_message);
 
26
 
 
27
std::pair<std::string, std::string> parse_password_arg(std::string s);
 
28
 
 
29
extern bool tty_password;
 
30
extern const std::string PASSWORD_SENTINEL;
32
31
 
33
32
#endif /* CLIENT_GET_PASSWORD_H */