Commit 1f5a9a0d authored by jan.koester's avatar jan.koester
Browse files

work on

parent 172b4fc3
Loading
Loading
Loading
Loading
Loading
+2 −0
Changes for src/client.cpp: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -26,3 +26,5 @@
 *******************************************************************************/

#include "client.h"

+15 −1
Changes for src/client.h: 15 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -25,11 +25,25 @@
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/

#include "authdb.h"
#include "hash.h"

#pragma once

namespace authdb {
    class Client {
    class ClientData : public AuthData {
    public:
        void setName(const char* name);
        const char *getName();

        void setClientKey(const Hash &key);
        const Hash& getClientKey();
    private:
        AuthData::Record *ClientName;
        AuthData::Record *ClientKey;
    };

    class Client {

    };
};