~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 21:25:32 UTC
  • mfrom: (1627.2.5 build)
  • Revision ID: mordred@inaugust.com-20100619212532-2e4bd11tm4plya7q
Rollup patch featuring: boost::program_options support for plugins, a
valgrind fix, a bugfix for password processing and a few build fixes.

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