\doxysubsection{SVM process kernels}
\hypertarget{group__kernelprocesses}{}\label{group__kernelprocesses}\index{SVM process kernels@{SVM process kernels}}


This module contains API functions to handle SVM process kernels.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__kernelprocesses_gaa70799f29f899ca5ea59a3e3d9ca24b5}{svm\+\_\+process\+\_\+kernel\+\_\+attach}} (const void \texorpdfstring{$\ast$}{*}svm, \mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}} process, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}} argc, \mbox{\hyperlink{group__api__types_gab05a82304ba262cf3ae97b0c5f8ab707}{SVM\+\_\+\+Parameter}} argv\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em This function attaches a kernel to a process. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__kernelprocesses_gaa09012e564500842dfc4bba31ce82498}{svm\+\_\+process\+\_\+kernel\+\_\+detach}} (const void \texorpdfstring{$\ast$}{*}svm, \mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}} process, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}} argc, \mbox{\hyperlink{group__api__types_gab05a82304ba262cf3ae97b0c5f8ab707}{SVM\+\_\+\+Parameter}} argv\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em This function detaches a kernel from a process. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} \mbox{\hyperlink{group__kernelprocesses_gad3fff60ab9ae273f8f1b14a72c2760a6}{svm\+\_\+process\+\_\+kernel\+\_\+get\+\_\+current}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}} process)
\begin{DoxyCompactList}\small\item\em This function retrieves the kernel currently executed on a process. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This module contains API functions to handle SVM process kernels. 



\doxysubsubsection{Function Documentation}
\Hypertarget{group__kernelprocesses_gaa70799f29f899ca5ea59a3e3d9ca24b5}\label{group__kernelprocesses_gaa70799f29f899ca5ea59a3e3d9ca24b5} 
\index{SVM process kernels@{SVM process kernels}!svm\_process\_kernel\_attach@{svm\_process\_kernel\_attach}}
\index{svm\_process\_kernel\_attach@{svm\_process\_kernel\_attach}!SVM process kernels@{SVM process kernels}}
\doxysubsubsubsection{\texorpdfstring{svm\_process\_kernel\_attach()}{svm\_process\_kernel\_attach()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+process\+\_\+kernel\+\_\+attach (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{\mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}}}]{process,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}}}]{argc,  }\item[{\mbox{\hyperlink{group__api__types_gab05a82304ba262cf3ae97b0c5f8ab707}{SVM\+\_\+\+Parameter}}}]{argv\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}



This function attaches a kernel to a process. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in,out}}  & {\em process} & The receiving process. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to attach. \\
\hline
\mbox{\texttt{ in}}  & {\em argc} & The number of parameters. \\
\hline
\mbox{\texttt{ in}}  & {\em argv} & The parameters.\\
\hline
\end{DoxyParams}
The parameters are sent verbatim to the sequencer attach plugin callback. The argv parameter can be a NULL pointer if the sequencer callback accepts it.

\begin{DoxyWarning}{Warning}
If the argv is not a NULL pointer and its size is smaller than argc, it will result in an undefined behavior.
\end{DoxyWarning}
\begin{DoxyReturn}{Returns}
TRUE if the kernel is attached to a process, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel can not be attached to the process. \\
\hline
{\em FAILURE} & interruption when the process is not ours or is not a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getprocesses_gab65c1662923bb41bd23071ef15422f68}{svm\+\_\+process\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__kernelprocesses_gaa09012e564500842dfc4bba31ce82498}\label{group__kernelprocesses_gaa09012e564500842dfc4bba31ce82498} 
\index{SVM process kernels@{SVM process kernels}!svm\_process\_kernel\_detach@{svm\_process\_kernel\_detach}}
\index{svm\_process\_kernel\_detach@{svm\_process\_kernel\_detach}!SVM process kernels@{SVM process kernels}}
\doxysubsubsubsection{\texorpdfstring{svm\_process\_kernel\_detach()}{svm\_process\_kernel\_detach()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+process\+\_\+kernel\+\_\+detach (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{\mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}}}]{process,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}}}]{argc,  }\item[{\mbox{\hyperlink{group__api__types_gab05a82304ba262cf3ae97b0c5f8ab707}{SVM\+\_\+\+Parameter}}}]{argv\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}



This function detaches a kernel from a process. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in,out}}  & {\em process} & The giving process. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to detach. \\
\hline
\mbox{\texttt{ in}}  & {\em argc} & The number of parameters. \\
\hline
\mbox{\texttt{ in}}  & {\em argv} & The parameters.\\
\hline
\end{DoxyParams}
The parameters are sent verbatim to the sequencer detach plugin callback. The argv parameter can be a NULL pointer if the sequencer callback accepts it.

\begin{DoxyWarning}{Warning}
If the argv is not a NULL pointer and its size is smaller than argc, it will result in an undefined behavior.
\end{DoxyWarning}
\begin{DoxyReturn}{Returns}
TRUE if the kernel is detached from a process, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel can not be detached from the process. \\
\hline
{\em FAILURE} & interruption when the process is not ours or is not a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getprocesses_gab65c1662923bb41bd23071ef15422f68}{svm\+\_\+process\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__kernelprocesses_gad3fff60ab9ae273f8f1b14a72c2760a6}\label{group__kernelprocesses_gad3fff60ab9ae273f8f1b14a72c2760a6} 
\index{SVM process kernels@{SVM process kernels}!svm\_process\_kernel\_get\_current@{svm\_process\_kernel\_get\_current}}
\index{svm\_process\_kernel\_get\_current@{svm\_process\_kernel\_get\_current}!SVM process kernels@{SVM process kernels}}
\doxysubsubsubsection{\texorpdfstring{svm\_process\_kernel\_get\_current()}{svm\_process\_kernel\_get\_current()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} svm\+\_\+process\+\_\+kernel\+\_\+get\+\_\+current (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_gabbfa54994e431fe68d4f6580c112e1a0}{SVM\+\_\+\+Process}}}]{process }\end{DoxyParamCaption})}



This function retrieves the kernel currently executed on a process. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em process} & The process from which the current kernel will be extracted.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current kernel executed in a process or a NULL pointer when the process is a zombie.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the process is not ours or is not a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getprocesses_gab65c1662923bb41bd23071ef15422f68}{svm\+\_\+process\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
