xref: /haiku/src/add-ons/kernel/file_systems/netfs/client/AuthenticationServer.h (revision d374a27286b8a52974a97dba0d5966ea026a665d)
1 // AuthenticationServer.h
2 
3 #ifndef NET_FS_AUTHENTICATION_SERVER_H
4 #define NET_FS_AUTHENTICATION_SERVER_H
5 
6 #include <OS.h>
7 
8 class AuthenticationServer {
9 public:
10 								AuthenticationServer();
11 								~AuthenticationServer();
12 
13 			status_t			InitCheck() const;
14 
15 			status_t			GetAuthentication(const char* context,
16 									const char* server, const char* share,
17 									uid_t uid, bool badPassword,
18 									bool* cancelled, char* foundUser,
19 									int32 foundUserSize, char* foundPassword,
20 									int32 foundPasswordSize);
21 
22 private:
23 			port_id				fServerPort;
24 };
25 
26 #endif	// NET_FS_AUTHENTICATION_SERVER_H
27