%
% Copyright 2014, General Dynamics C4 Systems
%
% This software may be distributed and modified according to the terms of
% the GNU General Public License version 2. Note that NO WARRANTY is provided.
% See "LICENSE_GPLv2.txt" for details.
%
% @TAG(GD_GPL)
%

\apidoc
{cnode_mutate}
{CNode - Mutate}
{Move a capability, setting its badge in the process}
{static inline int seL4\_CNode\_Mutate}
{
\param{seL4\_CNode}{\_service}{\destcspacedesc}
\param{seL4\_Word}{dest\_index}{\destindexdesc}
\param{uint8\_t}{dest\_depth}{\destdepthdesc}
\param{seL4\_CNode}{src\_root}{\srccspacedesc}
\param{seL4\_Word}{src\_index}{\srcindexdesc}
\param{uint8\_t}{src\_depth}{\srcdepthdesc}
\param{seL4\_CapData\_t}{badge}{\badgedesc}
}
{\errorenumdesc}
{See \autoref{sec:cnode-ops}.}

