~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/get_password.h

  • Committer: Brian Aker
  • Date: 2009-12-18 18:31:01 UTC
  • mfrom: (1241.2.7 build)
  • Revision ID: brian@gaz-20091218183101-igqg1dtowpa0o70s
Fixed from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
#ifndef CLIENT_GET_PASSWORD_H
21
21
#define CLIENT_GET_PASSWORD_H
22
22
 
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;
 
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
31
32
 
32
33
#endif /* CLIENT_GET_PASSWORD_H */