headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / servers / registrar / FakeAuthenticationManager.h
blob458b3a5d3014130aa8f99fa698847db1d1ae5218
1 /*
2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef FAKE_AUTHENTICATION_MANAGER_H
6 #define FAKE_AUTHENTICATION_MANAGER_H
9 #include <OS.h>
12 namespace BPrivate {
13 class KMessage;
17 class AuthenticationManager {
18 public:
19 AuthenticationManager();
20 ~AuthenticationManager();
22 status_t Init();
24 private:
25 class UserDB;
26 class GroupDB;
28 private:
29 port_id fRequestPort;
30 thread_id fRequestThread;
31 UserDB* fUserDB;
32 GroupDB* fGroupDB;
33 BPrivate::KMessage* fPasswdDBReply;
34 BPrivate::KMessage* fGroupDBReply;
35 BPrivate::KMessage* fShadowPwdDBReply;
39 #endif // FAKE_AUTHENTICATION_MANAGER_H