![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
passwd file management frontend. More...
#include <passwd.h>
Classes | |
| struct | Config | 
Public Types | |
| enum class | Kdf { Sha256_crypt , Sha512_crypt , Pbkdf2_sha256 , Pbkdf2_sha512 } | 
| enum class | Cmd {  Set , Delete , Verify , List , ShowHelp , ShowVersion }  | 
Public Member Functions | |
| PasswdFrontend (const std::string &exe_name, const std::vector< std::string > &args, std::ostream &os=std::cout, std::ostream &es=std::cerr) | |
| int | run () | 
| run frontend according to configuration.  More... | |
| std::string | get_help (const size_t screen_width=80) const | 
| get help text.  More... | |
Static Public Member Functions | |
| static std::string | get_version () noexcept | 
| get version text.  More... | |
Private Member Functions | |
| void | init_from_arguments (const std::vector< std::string > &arguments) | 
| void | prepare_command_options () | 
| std::string | read_password () | 
Private Attributes | |
| std::string | program_name_ | 
| CmdArgHandler | arg_handler_ {true} | 
| std::ostream & | cout_ | 
| std::ostream & | cerr_ | 
| Config | config_ | 
passwd file management frontend.
      
  | 
  strong | 
      
  | 
  strong | 
| PasswdFrontend::PasswdFrontend | ( | const std::string & | exe_name, | 
| const std::vector< std::string > & | args, | ||
| std::ostream & | os = std::cout,  | 
        ||
| std::ostream & | es = std::cerr  | 
        ||
| ) | 
| std::string PasswdFrontend::get_help | ( | const size_t | screen_width = 80 | ) | const | 
get help text.
| screen_width | wraps text at screen-width | 
      
  | 
  staticnoexcept | 
get version text.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| int PasswdFrontend::run | ( | ) | 
run frontend according to configuration.
| EXIT_FAILURE | on error | 
| EXIT_SUCCESS | on success | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |