~raof/mir/symbols-file

« back to all changes in this revision

Viewing changes to src/server/frontend/socket_session.h

Implement a connection authorization mechanism.

Approved by Gerry Boland, Alan Griffiths, Robert Ancell, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <boost/asio.hpp>
27
27
 
 
28
#include <sys/types.h>
 
29
 
28
30
namespace mir
29
31
{
30
32
namespace frontend
55
57
        return socket;
56
58
    }
57
59
 
 
60
    pid_t client_pid();
 
61
 
58
62
private:
59
63
    void send(std::string const& body);
60
64
    void send_fds(std::vector<int32_t> const& fd);