%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HTML specfic commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\virtiographics}[3]
{
\HCode{
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO title sections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\oasistitle}[1]
{
\begin{spacing}{2}
\HCode{}
\textbf{#1}
\HCode{
}
\end{spacing}
}
\newcommand{\oasisstagelabel}[1]
{
\begin{spacing}{2}
\HCode{}
\textbf{#1}
\HCode{
}
\end{spacing}
}
\newcommand{\oasisdate}[1]
{
\begin{spacing}{2}
\HCode{}
\textbf{#1}
\HCode{
}
\end{spacing}
}
\newcommand{\oasisnoticelabel}[1]
{
\hrule
\begin{spacing}{2}
\HCode{}
\textbf{#1}
\HCode{
}
\end{spacing}
}
\newcommand{\oasisspecificationuris}[1]
{
\HCode{}
\textbf{#1}
\HCode{
}
}
\newenvironment{oasistitlesection}[1]
{
\HCode{}
\textbf{#1:}
\HCode{
}
\HCode{}
}
{
\HCode{
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO type attributes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new environment: VIRTIO type attribute
\newenvironment{virtioattribute}[2]
{
\HCode{}\texttt{\textbf{#1}}\HCode{
}
\HCode{}#2\HCode{}\\
\begin{tabular}{p{20px}p{200px}}
&}
{\\
\end{tabular}\\
\vspace{0.05in}
}
% new command: VIRTIO type attribute value
\newcommand{\virtioattributevalue}[2]
{
\texttt{\textbf{#1}}\\
\indent
Value: #2\\
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO properties
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new environment: VIRTIO propery
\newenvironment{virtioproperty}[2]
{
\vspace{0.05in}
\begin{tabular}{p{20px}p{200px}p{200px}}
\multicolumn{2}{p{20px}}{\textbf{\texttt{#1}}} & #2\vspace{0.05in}\\
}
{
\end{tabular}\\
\vspace{0.05in}\\
}
% new command: VIRTIO property detail
\newcommand{\virtiopropertydetail}[2]{& #1: & #2\\}
% new command: VIRTIO property comment
\newcommand{\virtiopropertycomment}[1]{\\&\multicolumn{2}{p{20px}}{#1}\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO allowable actions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new environment: VIRTIO allowable action
\newenvironment{virtioallowableaction}[1]
{
\textbf{#1}
\vspace{0.05in}\\
\begin{tabular}{p{0.1in}p{1in}p{4.8in}}
}
{
\end{tabular}\\
\vspace{0.05in}\\
}
% new command: VIRTIO allowable action detail
\newcommand{\virtioallowableactiondetail}[2]{& #1: & #2\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO version properties
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new environment: VIRTIO version property
\newenvironment{virtioversionproperty}[2]
{
\begin{tabular}{p{3in}l}
\texttt{\textbf{#1}} & #2\\
\end{tabular}\\\
\begin{tabular}{p{0.3in}p{5.7in}}
&}
{\\
\end{tabular}\\
\vspace{0.05in}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO general description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new environment: VIRTIO description
\newenvironment{virtiodescription}[1]
{
\begin{tabular}{p{20px}p{600px}}
\multicolumn{2}{l}{\textbf{#1:}}\\
&\setlength{\topsep}{0in}\setlength{\parsep}{0in}\setlength{\partopsep}{0in} }
{\\
\end{tabular}\\
\vspace{0.05in}
}
\newenvironment{virtioexample}[1]
{
\HCode{}
\textbf{Example:}\\
Request: \texttt{#1-request.log}\\
Response: \texttt{#1-response.log}
\HCode{
}
\vspace{0.2in}
}