genode/repos/base/include/rm_session/client.h

32 lines
748 B
C
Raw Normal View History

2011-12-22 15:19:25 +00:00
/*
* \brief Client-side region manager session interface
* \author Norman Feske
* \date 2016-04-15
2011-12-22 15:19:25 +00:00
*/
/*
* Copyright (C) 2016 Genode Labs GmbH
2011-12-22 15:19:25 +00:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__RM_SESSION__CLIENT_H_
#define _INCLUDE__RM_SESSION__CLIENT_H_
#include <rm_session/capability.h>
#include <base/rpc_client.h>
namespace Genode { struct Rm_session_client; }
2011-12-22 15:19:25 +00:00
struct Genode::Rm_session_client : Rpc_client<Rm_session>
{
explicit Rm_session_client(Rm_session_capability);
Capability<Region_map> create(size_t) override;
void destroy(Capability<Region_map>) override;
};
2011-12-22 15:19:25 +00:00
#endif /* _INCLUDE__RM_SESSION__CLIENT_H_ */