Main Page | Modules | Data Structures | File List | Data Fields | Globals

context.h File Reference

L&B API common context (publicly visible) and related definitions. More...

#include "glite/wmsutils/exception/exception_codes.h"
#include "glite/wmsutils/jobid/cjobid.h"

Go to the source code of this file.

Defines

#define EDG_WLL_SOURCE_WM_PROXY   EDG_WLL_SOURCE_NETWORK_SERVER
#define GLITE_WMS_LOGGING_ERROR_BASE   1400
#define EDG_WLL_SEQ_NORMAL   1
#define EDG_WLL_SEQ_DUPLICATE   11
#define EDG_WLL_SEQ_PBS   2
#define EDG_WLL_SEQ_CONDOR   3
#define EDG_WLL_SEQ_BIGHELPER_INITIAL   "UI=000002:NS=0000000000:WM=000000:BH=0000000001:JSS=000000:LM=000000:LRMS=000000:APP=000000:LBS=000000"
#define EDG_WLL_SEQ_CLEAR   "UI=000009:NS=0000096669:WM=000000:BH=0000000000:JSS=000000:LM=000000:LRMS=000000:APP=000000:LBS=000000"
#define EDG_WLL_SEQ_ABORT   "UI=000000:NS=0000096660:WM=000000:BH=0000000000:JSS=000000:LM=000000:LRMS=000000:APP=000000:LBS=000000"

Typedefs

typedef _edg_wll_Context * edg_wll_Context
typedef enum _edg_wll_ContextParam edg_wll_ContextParam
typedef enum _edg_wll_QueryResults edg_wll_QueryResults
typedef enum _edg_wll_Source edg_wll_Source
typedef enum _edg_wll_ErrorCode edg_wll_ErrorCode

Enumerations

enum  _edg_wll_ContextParam {
  EDG_WLL_PARAM_HOST, EDG_WLL_PARAM_SOURCE, EDG_WLL_PARAM_INSTANCE, EDG_WLL_PARAM_LEVEL,
  EDG_WLL_PARAM_DESTINATION, EDG_WLL_PARAM_DESTINATION_PORT, EDG_WLL_PARAM_LOG_TIMEOUT, EDG_WLL_PARAM_LOG_SYNC_TIMEOUT,
  EDG_WLL_PARAM_QUERY_SERVER, EDG_WLL_PARAM_QUERY_SERVER_PORT, EDG_WLL_PARAM_QUERY_SERVER_OVERRIDE, EDG_WLL_PARAM_QUERY_TIMEOUT,
  EDG_WLL_PARAM_QUERY_JOBS_LIMIT, EDG_WLL_PARAM_QUERY_EVENTS_LIMIT, EDG_WLL_PARAM_QUERY_RESULTS, EDG_WLL_PARAM_CONNPOOL_SIZE,
  EDG_WLL_PARAM_NOTIF_SERVER, EDG_WLL_PARAM_NOTIF_SERVER_PORT, EDG_WLL_PARAM_NOTIF_TIMEOUT, EDG_WLL_PARAM_X509_PROXY,
  EDG_WLL_PARAM_X509_KEY, EDG_WLL_PARAM_X509_CERT, EDG_WLL_PARAM_LBPROXY_STORE_SOCK, EDG_WLL_PARAM_LBPROXY_SERVE_SOCK,
  EDG_WLL_PARAM_LBPROXY_USER, EDG_WLL_PARAM_JPREG_TMPDIR, EDG_WLL_PARAM__LAST
}
enum  _edg_wll_QueryResults {
  EDG_WLL_QUERYRES_UNDEF, EDG_WLL_QUERYRES_NONE, EDG_WLL_QUERYRES_ALL, EDG_WLL_QUERYRES_LIMITED,
  EDG_WLL_QUERYRES__LAST
}
enum  _edg_wll_Source {
  EDG_WLL_SOURCE_NONE, EDG_WLL_SOURCE_USER_INTERFACE, EDG_WLL_SOURCE_NETWORK_SERVER, EDG_WLL_SOURCE_WORKLOAD_MANAGER,
  EDG_WLL_SOURCE_BIG_HELPER, EDG_WLL_SOURCE_JOB_SUBMISSION, EDG_WLL_SOURCE_LOG_MONITOR, EDG_WLL_SOURCE_LRMS,
  EDG_WLL_SOURCE_APPLICATION, EDG_WLL_SOURCE_LB_SERVER, EDG_WLL_SOURCE__LAST
}
enum  _edg_wll_ErrorCode {
  EDG_WLL_ERROR_BASE = GLITE_WMS_LOGGING_ERROR_BASE, EDG_WLL_ERROR_PARSE_BROKEN_ULM, EDG_WLL_ERROR_PARSE_EVENT_UNDEF, EDG_WLL_ERROR_PARSE_MSG_INCOMPLETE,
  EDG_WLL_ERROR_PARSE_KEY_DUPLICITY, EDG_WLL_ERROR_PARSE_KEY_MISUSE, EDG_WLL_ERROR_PARSE_OK_WITH_EXTRA_FIELDS, EDG_WLL_ERROR_XML_PARSE,
  EDG_WLL_ERROR_SERVER_RESPONSE, EDG_WLL_ERROR_JOBID_FORMAT, EDG_WLL_ERROR_DB_CALL, EDG_WLL_ERROR_MD5_CLASH,
  EDG_WLL_ERROR_GSS, EDG_WLL_ERROR_DNS, EDG_WLL_ERROR_NOJOBID, EDG_WLL_ERROR_NOINDEX,
  EDG_WLL_IL_PROTO, EDG_WLL_IL_SYS, EDG_WLL_IL_EVENTS_WAITING, EDG_WLL_ERROR_COMPARE_EVENTS
}

Functions

int edg_wll_InitContext (edg_wll_Context *context)
void edg_wll_FreeContext (edg_wll_Context context)
int edg_wll_SetParam (edg_wll_Context context, edg_wll_ContextParam param,...)
int edg_wll_SetParamInt (edg_wll_Context ctx, edg_wll_ContextParam param, int val)
int edg_wll_SetParamString (edg_wll_Context ctx, edg_wll_ContextParam param, const char *val)
int edg_wll_SetParamTime (edg_wll_Context ctx, edg_wll_ContextParam param, const struct timeval *val)
int edg_wll_GetParam (edg_wll_Context context, edg_wll_ContextParam param,...)
int edg_wll_Error (edg_wll_Context context, char **errText, char **errDesc)
char * edg_wll_SourceToString (edg_wll_Source src)
edg_wll_Source edg_wll_StringToSource (const char *name)
char * edg_wll_QResultToString (edg_wll_QueryResults res)
edg_wll_QueryResults edg_wll_StringToQResult (const char *name)
char * edg_wll_GetSequenceCode (const edg_wll_Context context)
int edg_wll_GetLoggingJob (const edg_wll_Context context, edg_wlc_JobId *jobid_out)


Detailed Description

L&B API common context (publicly visible) and related definitions.


Generated on Mon May 5 15:16:51 2008 for Glite LB Client: C - Interface by  doxygen 1.3.9.1