~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/get_password.h

  • Committer: Brian Aker
  • Date: 2010-11-22 00:16:44 UTC
  • mto: (1945.2.1 quick)
  • mto: This revision was merged to the branch mainline in revision 1947.
  • Revision ID: brian@tangent.org-20101122001644-pi6jv0d65e82xn38
Merge in lock refactor, this just encapsulates.

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 */