Files
winix/functions/passwd.h
Tomasz Sowa eaf10c70b7 added: a new winix function: passwd
for changing your password
       or if you are a super user you can
       change a password for anyone
added: uname prints available plugins now



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@748 e52654a7-88a9-db11-a3e9-0013d4bc506e
2011-06-27 21:38:19 +00:00

39 lines
529 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_functions_passwd
#define headerfile_winix_functions_passwd
#include "functionbase.h"
#include "core/user.h"
namespace Fun
{
class Passwd : public FunctionBase
{
public:
Passwd();
bool HasAccess();
void MakePost();
bool ChangePassword(const std::wstring & login, const std::wstring & new_password);
private:
UserPass up;
};
} // namespace
#endif