scripts. Their usage is rather straightforward as it is described in the User's Guide \cite{lbug}.
+\subsection{Building Client Libraries}
+\TODO{ljocha}
+
+
+
\subsection{General Guidelines}
\marginpar{Naming conventions}%
contexts/threads to eliminate the overhead of secure channel
establishment. This behaviour is completely hidden by the library.
+
+
\section{\LB Common Components}
\label{s:common}
The third argument points at variable with type corresponding to the
requested parameter. Do not forget to free the result.
-\TODO{Máme odkaz kde jsou popsany defaulty a vazby na promenne environmentu?}
+\TODO{sitera: Mame odkaz kde jsou popsany defaulty a vazby na promenne environmentu (ty jsou v LBUG Appendix C)}
\marginpar{Obtaining error details}%
When \LB API call returns error, additional details can be obtained
\marginpar{Context}%
The context in C API is part of common components, the C++ API on the
other hand differentiates between query context
-(see~\ref{ServerConnection}) and logging context; the description is
+(see Section~\ref{s:ServerConnection}) and logging context; the description is
therefore part of the respective chapters.
\subsubsection{Header Files}
events to the \LB\ server and/or proxy, depending on the function
used:
-\TODO{verify ChangeACL}
+\TODO{kouril: verify ChangeACL}
+
\begin{table}[h]
\begin{tabularx}{\textwidth}{lX}
\bf Function & \bf Delivers to \\
After setting the logging job identity, all the following logging
calls refer to this \jobid and the sequence code is incremented
according to the source component.
-\TODO{how is the sequence code updated?}
+\TODO{honik: how is the sequence code updated?}
\subsubsection{Return values}
The logging functions return 0 on success and one of \texttt{EINVAL,
first call. Possibly duplicated events are discarded by the \LB\
server or proxy.
-\TODO{check these}
+\TODO{ljocha: check these}
The synchronous variants of logging functions can in addition return
\verb'EDG_WLL_ERROR_NOJOBID' or \verb'EDG_WLL_ERROR_DB_DUP_KEY'.
Initialize context and set parameters:
\lstinputlisting[title={\bf File: }\lstname,numbers=left,linerange=context-end\ context]{prod_example1.c}
-\TODO{proper setting of sequence codes}
+\TODO{honik: proper setting of sequence codes}
\lstinputlisting[title={\bf File: }\lstname,numbers=left,linerange=sequence-end\ sequence]{prod_example1.c}
Log the event:
err = edg_wll_LogUserTag(ctx, name, value);
\end{lstlisting}
+
+\subsubsection{Change ACL example}
+\TODO{kouril}
+
+
+
\subsection{Java binding}
\TODO{mirek}