blob: c5d6ba86e940397caa1d8d8fbbc44da806057cbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2014-2016 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef ENDPOINTS_INCLUDE_CREDENTIALS_HPP_
#define ENDPOINTS_INCLUDE_CREDENTIALS_HPP_
#include <vsomeip/primitive_types.hpp>
namespace vsomeip {
class credentials {
public:
static void activate_credentials(const int _fd);
static void deactivate_credentials(const int _fd);
static client_t receive_credentials(const int _fd, uid_t& _uid, gid_t& _gid);
static void send_credentials(const int _fd, client_t _client);
};
} // namespace vsomeip
#endif /* ENDPOINTS_INCLUDE_CREDENTIALS_HPP_ */
|