From 103316fd956e4a59c43eb17a192dfd4adf401d3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Wed, 6 Aug 2008 19:17:59 +0000 Subject: [PATCH] DG work --- org.glite.lb.doc/src/LBDG-Introduction.tex | 6 ++-- org.glite.lb.doc/src/producer_api.tex | 47 ++++++++++++++++-------------- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/org.glite.lb.doc/src/LBDG-Introduction.tex b/org.glite.lb.doc/src/LBDG-Introduction.tex index 80465c4..78fbef4 100644 --- a/org.glite.lb.doc/src/LBDG-Introduction.tex +++ b/org.glite.lb.doc/src/LBDG-Introduction.tex @@ -48,13 +48,13 @@ other languages, as the C constructs often reflect directly. \subsection{General Guidelines} -\TODO{kde se vzalo edg} - \marginpar{Naming conventions}% All names exported by the \LB library (function names, symbolic constants) are prefixed to avoid name clashes. The prefix is \verb'edg_wll_' for function names and \verb'EDG_WLL_' for -symbolic constants. In C++ the namespace \verb'glite::lb' is used +symbolic constants\footnote{The EDG\_WLL\_ stands for European +DataGrid, the original EU project, and Workload Logging, the subsystem +identification.}. In C++ the namespace \verb'glite::lb' is used instead. \marginpar{Symbolic constants}% diff --git a/org.glite.lb.doc/src/producer_api.tex b/org.glite.lb.doc/src/producer_api.tex index ef8960a..57345ce 100644 --- a/org.glite.lb.doc/src/producer_api.tex +++ b/org.glite.lb.doc/src/producer_api.tex @@ -61,35 +61,38 @@ glite/lb/producer.h & Prototypes for all event logging functions. \\ \end{table} \subsubsection{Context parameters} -The table\ref{t:pcontext} summarizes context parameters relevant to the +The table~\ref{t:pcontext} summarizes context parameters relevant to the event logging. If parameter is not set in the context explicitly, the \LB\ library will search for value of corresponding environment variable. The symbolic C names should be prepended with \verb'EDG_WLL_PARAM_' prefix, \ie\ \verb'EDG_WLL_PARAM_HOST'. \begin{table}[h] -\begin{tabularx}{\textwidth}{llX} -{\bf Name: Type} & {\bf Env. variable} & {\bf Description} \\ +\begin{tabularx}{\textwidth}{lX} +{\bf Name} & {\bf Description} \\ \hline -\lstinline'HOST': \lstinline'char*' & & Hostname that appears as event origin. \\ -\lstinline'SOURCE': \lstinline'edg_wll_Source' & & Event source component. \\ -\lstinline'DESTINATION': \lstinline'char*' & \lstinline'GLITE_WMS_LOG_DESTINATION' & Hostname of machine running -locallogger/interlogger. \\ -\lstinline'DESTINATION_PORT': \lstinline'int' & -\lstinline'GLITE_WMS_LOG_DESTINATION' Port the locallogger is -listening on. \\ -\lstinline'LOG_TIMEOUT': \lstinline'struct timeval' & -\lstinline'GLITE_WMS_LOG_TIMEOUT' & Logging timeout for asynchronous -logging. \\ -\lstinline'LOG_SYNC_TIMEOUT': \lstinline'struct timeval' & -\lstinline'GLITE_WMS_LOG_SYNC_TIMEOUT' & Logging timeout for -synchronous logging. \\ -\lstinline'LBPROXY_STORE_SOCK': \lstinline'char*' & -\lstinline'GLITE_WMS_LBPROXY_STORE_SOCK' & \LB\ Proxy store socket -path (if logging through \LB\ Proxy) \\ -\lstinline'LBPROXY_USER': \lstinline'char*' & -\lstinline'GLITE_WMS_LBPROXY_USER' & Certificate subject of the user -(if logging through \LB\ proxy). \\ +\lstinline'HOST' & Hostname that appears as event origin. \par {\it +Type: \lstinline'char*'} \par {\it Environment: } \\ +\lstinline'SOURCE' & Event source component. \par {\it Type: +\lstinline'edg_wll_Source'} \par {\it Environment: } \\ +\lstinline'DESTINATION' & Hostname of machine running +locallogger/interlogger. \par {\it Type: \lstinline'char*'} \par {\it +Environment: \lstinline'GLITE_WMS_LOG_DESTINATION'} \\ +\lstinline'DESTINATION_PORT' & Port the locallogger is listening +on. \par {\it Type: \lstinline'int'} \par {\it Environment: +\lstinline'GLITE_WMS_LOG_DESTINATION'} \\ +\lstinline'LOG_TIMEOUT' & Logging timeout for asynchronous +logging. \par {\it Type: \lstinline'struct timeval'} \par {\it +Environment: \lstinline'GLITE_WMS_LOG_TIMEOUT'} \\ +\lstinline'LOG_SYNC_TIMEOUT' & Logging timeout for synchronous +logging. \par {\it Type: \lstinline'struct timeval'} \par {\it +Environment: \lstinline'GLITE_WMS_LOG_SYNC_TIMEOUT'} \\ +\lstinline'LBPROXY_STORE_SOCK' & \LB\ Proxy store socket +path (if logging through \LB\ Proxy) \par {\it Type: +\lstinline'char*'} \par {\it Environment: \lstinline'GLITE_WMS_LBPROXY_STORE_SOCK'} \\ +\lstinline'LBPROXY_USER' & Certificate subject of the user (if logging +through \LB\ proxy). \par {\it Type: \lstinline'char*'} \par {\it +Environment: \lstinline'GLITE_WMS_LBPROXY_USER'} \\ \end{tabularx} \caption{Producer specific context parameters} \label{t:pcontext} -- 1.8.2.3