Main Page   Compound List   File List   Compound Members   File Members  

events.h File Reference

contains definition of event type codes for use both by lbapi.h and dglog.h. More...

Go to the source code of this file.

Defines

#define _EDG_WLL_EVENT_COMMON
 common fields of all event types:. More...


Typedefs

typedef char * edg_wll_LogLine
 Predefined type for ULM string.

typedef enum _edg_wll_EventCode edg_wll_EventCode
 Predefined event types.

typedef enum _edg_wll_KeyNameCode edg_wll_KeyNameCode
 Predefined ULM key types.

typedef _edg_wll_TransferEvent edg_wll_TransferEvent
 structure definition for Transfer event.

typedef _edg_wll_AcceptedEvent edg_wll_AcceptedEvent
 structure definition for Accepted event.

typedef _edg_wll_RefusedEvent edg_wll_RefusedEvent
 structure definition for Refused event.

typedef _edg_wll_EnQueuedEvent edg_wll_EnQueuedEvent
 structure definition for EnQueued event.

typedef _edg_wll_DeQueuedEvent edg_wll_DeQueuedEvent
 structure definition for DeQueued event.

typedef _edg_wll_HelperCallEvent edg_wll_HelperCallEvent
 structure definition for HelperCall event.

typedef _edg_wll_HelperReturnEvent edg_wll_HelperReturnEvent
 structure definition for HelperReturn event.

typedef _edg_wll_RunningEvent edg_wll_RunningEvent
 structure definition for Running event.

typedef _edg_wll_ResubmissionEvent edg_wll_ResubmissionEvent
 structure definition for Resubmission event.

typedef _edg_wll_DoneEvent edg_wll_DoneEvent
 structure definition for Done event.

typedef _edg_wll_CancelEvent edg_wll_CancelEvent
 structure definition for Cancel event.

typedef _edg_wll_AbortEvent edg_wll_AbortEvent
 structure definition for Abort event.

typedef _edg_wll_ClearEvent edg_wll_ClearEvent
 structure definition for Clear event.

typedef _edg_wll_PurgeEvent edg_wll_PurgeEvent
 structure definition for Purge event.

typedef _edg_wll_MatchEvent edg_wll_MatchEvent
 structure definition for Match event.

typedef _edg_wll_PendingEvent edg_wll_PendingEvent
 structure definition for Pending event.

typedef _edg_wll_RegJobEvent edg_wll_RegJobEvent
 structure definition for RegJob event.

typedef _edg_wll_ChkptEvent edg_wll_ChkptEvent
 structure definition for Chkpt event.

typedef _edg_wll_ListenerEvent edg_wll_ListenerEvent
 structure definition for Listener event.

typedef _edg_wll_CurDescrEvent edg_wll_CurDescrEvent
 structure definition for CurDescr event.

typedef _edg_wll_UserTagEvent edg_wll_UserTagEvent
 structure definition for UserTag event.

typedef _edg_wll_ChangeACLEvent edg_wll_ChangeACLEvent
 structure definition for ChangeACL event.


Enumerations

enum  _edg_wll_EventCode {
  EDG_WLL_EVENT_UNDEF = 0, EDG_WLL_EVENT_TRANSFER, EDG_WLL_EVENT_ACCEPTED, EDG_WLL_EVENT_REFUSED,
  EDG_WLL_EVENT_ENQUEUED, EDG_WLL_EVENT_DEQUEUED, EDG_WLL_EVENT_HELPERCALL, EDG_WLL_EVENT_HELPERRETURN,
  EDG_WLL_EVENT_RUNNING, EDG_WLL_EVENT_RESUBMISSION, EDG_WLL_EVENT_DONE, EDG_WLL_EVENT_CANCEL,
  EDG_WLL_EVENT_ABORT, EDG_WLL_EVENT_CLEAR, EDG_WLL_EVENT_PURGE, EDG_WLL_EVENT_MATCH,
  EDG_WLL_EVENT_PENDING, EDG_WLL_EVENT_REGJOB, EDG_WLL_EVENT_CHKPT, EDG_WLL_EVENT_LISTENER,
  EDG_WLL_EVENT_CURDESCR, EDG_WLL_EVENT_USERTAG, EDG_WLL_EVENT_CHANGEACL, EDG_WLL_EVENT__LAST
}
enum  _edg_wll_KeyNameCode {
  UNDEFINED, EDG_WLL_EVNT, ULM_DATE, ULM_HOST,
  ULM_LVL, EDG_WLL_COMMON_PRIORITY, EDG_WLL_COMMON_JOBID, EDG_WLL_COMMON_SEQCODE,
  EDG_WLL_COMMON_USER, EDG_WLL_COMMON_SOURCE, EDG_WLL_COMMON_SRC_INSTANCE, EDG_WLL_TRANSFER_DESTINATION,
  EDG_WLL_TRANSFER_DEST_HOST, EDG_WLL_TRANSFER_DEST_INSTANCE, EDG_WLL_TRANSFER_JOB, EDG_WLL_TRANSFER_RESULT,
  EDG_WLL_TRANSFER_REASON, EDG_WLL_TRANSFER_DEST_JOBID, EDG_WLL_ACCEPTED_FROM, EDG_WLL_ACCEPTED_FROM_HOST,
  EDG_WLL_ACCEPTED_FROM_INSTANCE, EDG_WLL_ACCEPTED_LOCAL_JOBID, EDG_WLL_REFUSED_FROM, EDG_WLL_REFUSED_FROM_HOST,
  EDG_WLL_REFUSED_FROM_INSTANCE, EDG_WLL_REFUSED_REASON, EDG_WLL_ENQUEUED_QUEUE, EDG_WLL_ENQUEUED_JOB,
  EDG_WLL_ENQUEUED_RESULT, EDG_WLL_ENQUEUED_REASON, EDG_WLL_DEQUEUED_QUEUE, EDG_WLL_DEQUEUED_LOCAL_JOBID,
  EDG_WLL_HELPERCALL_HELPER_NAME, EDG_WLL_HELPERCALL_HELPER_PARAMS, EDG_WLL_HELPERCALL_SRC_ROLE, EDG_WLL_HELPERRETURN_HELPER_NAME,
  EDG_WLL_HELPERRETURN_RETVAL, EDG_WLL_HELPERRETURN_SRC_ROLE, EDG_WLL_RUNNING_NODE, EDG_WLL_RESUBMISSION_RESULT,
  EDG_WLL_RESUBMISSION_REASON, EDG_WLL_RESUBMISSION_TAG, EDG_WLL_DONE_STATUS_CODE, EDG_WLL_DONE_REASON,
  EDG_WLL_DONE_EXIT_CODE, EDG_WLL_CANCEL_STATUS_CODE, EDG_WLL_CANCEL_REASON, EDG_WLL_ABORT_REASON,
  EDG_WLL_CLEAR_REASON, EDG_WLL_MATCH_DEST_ID, EDG_WLL_PENDING_REASON, EDG_WLL_REGJOB_JDL,
  EDG_WLL_REGJOB_NS, EDG_WLL_REGJOB_PARENT, EDG_WLL_REGJOB_JOBTYPE, EDG_WLL_REGJOB_NSUBJOBS,
  EDG_WLL_REGJOB_SEED, EDG_WLL_CHKPT_TAG, EDG_WLL_CHKPT_CLASSAD, EDG_WLL_LISTENER_SVC_NAME,
  EDG_WLL_LISTENER_SVC_HOST, EDG_WLL_LISTENER_SVC_PORT, EDG_WLL_CURDESCR_DESCR, EDG_WLL_USERTAG_NAME,
  EDG_WLL_USERTAG_VALUE, EDG_WLL_CHANGEACL_USER_ID, EDG_WLL_CHANGEACL_USER_ID_TYPE, EDG_WLL_CHANGEACL_PERMISSION,
  EDG_WLL_CHANGEACL_PERMISSION_TYPE, EDG_WLL_CHANGEACL_OPERATION
}
enum  edg_wll_Level {
  EDG_WLL_LEVEL_UNDEFINED, EDG_WLL_LEVEL_EMERGENCY, EDG_WLL_LEVEL_ALERT, EDG_WLL_LEVEL_ERROR,
  EDG_WLL_LEVEL_WARNING, EDG_WLL_LEVEL_AUTH, EDG_WLL_LEVEL_SECURITY, EDG_WLL_LEVEL_USAGE,
  EDG_WLL_LEVEL_SYSTEM, EDG_WLL_LEVEL_IMPORTANT, EDG_WLL_LEVEL_DEBUG
}
enum  edg_wll_TransferResult {
  EDG_WLL_TRANSFER_UNDEFINED, EDG_WLL_TRANSFER_START, EDG_WLL_TRANSFER_OK, EDG_WLL_TRANSFER_REFUSED,
  EDG_WLL_TRANSFER_FAIL
}
enum  edg_wll_EnQueuedResult {
  EDG_WLL_ENQUEUED_UNDEFINED, EDG_WLL_ENQUEUED_START, EDG_WLL_ENQUEUED_OK, EDG_WLL_ENQUEUED_REFUSED,
  EDG_WLL_ENQUEUED_FAIL
}
enum  edg_wll_HelperCallSrc_role { EDG_WLL_HELPERCALL_UNDEFINED, EDG_WLL_HELPERCALL_CALLING, EDG_WLL_HELPERCALL_CALLED }
enum  edg_wll_HelperReturnSrc_role { EDG_WLL_HELPERRETURN_UNDEFINED, EDG_WLL_HELPERRETURN_CALLING, EDG_WLL_HELPERRETURN_CALLED }
enum  edg_wll_ResubmissionResult { EDG_WLL_RESUBMISSION_UNDEFINED, EDG_WLL_RESUBMISSION_WILLRESUB, EDG_WLL_RESUBMISSION_WONTRESUB }
enum  edg_wll_DoneStatus_code { EDG_WLL_DONE_UNDEFINED, EDG_WLL_DONE_OK, EDG_WLL_DONE_FAILED, EDG_WLL_DONE_CANCELLED }
enum  edg_wll_CancelStatus_code {
  EDG_WLL_CANCEL_UNDEFINED, EDG_WLL_CANCEL_REQ, EDG_WLL_CANCEL_REFUSE, EDG_WLL_CANCEL_DONE,
  EDG_WLL_CANCEL_ABORT
}
enum  edg_wll_ClearReason { EDG_WLL_CLEAR_UNDEFINED, EDG_WLL_CLEAR_USER, EDG_WLL_CLEAR_TIMEOUT, EDG_WLL_CLEAR_NOOUTPUT }
enum  edg_wll_RegJobJobtype {
  EDG_WLL_REGJOB_UNDEFINED, EDG_WLL_REGJOB_SIMPLE, EDG_WLL_REGJOB_DAG, EDG_WLL_REGJOB_PARTITIONABLE,
  EDG_WLL_REGJOB_PARTITIONED
}

Functions

edg_wll_EventCode edg_wll_StringToEvent (char *)
 convert a string event name to the corresponding numeric code. More...

char * edg_wll_EventToString (edg_wll_EventCode)
 convert an event numeric code to the corresponding string. More...

edg_wll_KeyNameCode edg_wll_StringToKeyName (char *)
 convert a string ULM key name to the corresponding numeric code. More...

char * edg_wll_KeyNameToString (edg_wll_KeyNameCode)
 convert a ULM key name numeric code to the corresponding string. More...

enum edg_wll_Level edg_wll_StringToLevel (char *name)
 converts a string Level code to corresponding numeric code. More...

char * edg_wll_LevelToString (enum edg_wll_Level code)
 converts a Level numeric code to corresponding string. More...

enum edg_wll_TransferResult edg_wll_StringToTransferResult (char *name)
 converts a string Transfer Result code to corresponding numeric code. More...

char * edg_wll_TransferResultToString (enum edg_wll_TransferResult code)
 converts a Transfer Result numeric code to corresponding string. More...

enum edg_wll_EnQueuedResult edg_wll_StringToEnQueuedResult (char *name)
 converts a string EnQueued Result code to corresponding numeric code. More...

char * edg_wll_EnQueuedResultToString (enum edg_wll_EnQueuedResult code)
 converts a EnQueued Result numeric code to corresponding string. More...

enum edg_wll_HelperCallSrc_role edg_wll_StringToHelperCallSrc_role (char *name)
 converts a string HelperCall Src_role code to corresponding numeric code. More...

char * edg_wll_HelperCallSrc_roleToString (enum edg_wll_HelperCallSrc_role code)
 converts a HelperCall Src_role numeric code to corresponding string. More...

enum edg_wll_HelperReturnSrc_role edg_wll_StringToHelperReturnSrc_role (char *name)
 converts a string HelperReturn Src_role code to corresponding numeric code. More...

char * edg_wll_HelperReturnSrc_roleToString (enum edg_wll_HelperReturnSrc_role code)
 converts a HelperReturn Src_role numeric code to corresponding string. More...

enum edg_wll_ResubmissionResult edg_wll_StringToResubmissionResult (char *name)
 converts a string Resubmission Result code to corresponding numeric code. More...

char * edg_wll_ResubmissionResultToString (enum edg_wll_ResubmissionResult code)
 converts a Resubmission Result numeric code to corresponding string. More...

enum edg_wll_DoneStatus_code edg_wll_StringToDoneStatus_code (char *name)
 converts a string Done Status_code code to corresponding numeric code. More...

char * edg_wll_DoneStatus_codeToString (enum edg_wll_DoneStatus_code code)
 converts a Done Status_code numeric code to corresponding string. More...

enum edg_wll_CancelStatus_code edg_wll_StringToCancelStatus_code (char *name)
 converts a string Cancel Status_code code to corresponding numeric code. More...

char * edg_wll_CancelStatus_codeToString (enum edg_wll_CancelStatus_code code)
 converts a Cancel Status_code numeric code to corresponding string. More...

enum edg_wll_ClearReason edg_wll_StringToClearReason (char *name)
 converts a string Clear Reason code to corresponding numeric code. More...

char * edg_wll_ClearReasonToString (enum edg_wll_ClearReason code)
 converts a Clear Reason numeric code to corresponding string. More...

enum edg_wll_RegJobJobtype edg_wll_StringToRegJobJobtype (char *name)
 converts a string RegJob Jobtype code to corresponding numeric code. More...

char * edg_wll_RegJobJobtypeToString (enum edg_wll_RegJobJobtype code)
 converts a RegJob Jobtype numeric code to corresponding string. More...

edg_wll_Eventedg_wll_InitEvent (edg_wll_EventCode eventcode)
 Initialise an event structure. More...

void edg_wll_FreeEvent (edg_wll_Event *event)
 Free the contents of event structure. More...


Detailed Description

contains definition of event type codes for use both by lbapi.h and dglog.h.


Define Documentation

#define _EDG_WLL_EVENT_COMMON
 

Value:

edg_wll_EventCode               type;\
        struct timeval          timestamp;      \
        char *          host;   \
        int             level;  \
        int             priority;       \
        edg_wlc_JobId           jobId;  \
        char *          seqcode;        \
        char *          user;   \
        edg_wll_Source          source; \
        char *          src_instance;   \
common fields of all event types:.


Enumeration Type Documentation

enum _edg_wll_EventCode
 

Enumeration values:
EDG_WLL_EVENT_UNDEF  invalid code, e.g.

uninitialized variable

EDG_WLL_EVENT_TRANSFER  Start, success, or failure of job transfer to another component.
EDG_WLL_EVENT_ACCEPTED  Accepting job (successful couterpart to Transfer).
EDG_WLL_EVENT_REFUSED  Refusing job (unsuccessful couterpart to Transfer).
EDG_WLL_EVENT_ENQUEUED  The job has been enqueued in an inter-component queue.
EDG_WLL_EVENT_DEQUEUED  The job has been dequeued from an inter-component queue.
EDG_WLL_EVENT_HELPERCALL  Helper component is called.
EDG_WLL_EVENT_HELPERRETURN  Helper component is returning the control.
EDG_WLL_EVENT_RUNNING  Executable started.
EDG_WLL_EVENT_RESUBMISSION  Result of resubmission decision.
EDG_WLL_EVENT_DONE  Execution terminated (normally or abnormally).
EDG_WLL_EVENT_CANCEL  Cancel operation has been attempted on the job.
EDG_WLL_EVENT_ABORT  Job aborted by system.
EDG_WLL_EVENT_CLEAR  Job cleared, output sandbox removed.
EDG_WLL_EVENT_PURGE  Job is purged from bookkepping server.
EDG_WLL_EVENT_MATCH  Matching CE found.
EDG_WLL_EVENT_PENDING  No match found yet.
EDG_WLL_EVENT_REGJOB  New job registration.
EDG_WLL_EVENT_CHKPT  Application-specific checkpoint record.
EDG_WLL_EVENT_LISTENER  Listening network port for interactive control.
EDG_WLL_EVENT_CURDESCR  current state of job processing (optional event).
EDG_WLL_EVENT_USERTAG  user tag -- arbitrary name=value pair.
EDG_WLL_EVENT_CHANGEACL  Management of ACL stored on bookkepping server.
EDG_WLL_EVENT__LAST  last currently supported event code.

enum _edg_wll_KeyNameCode
 

Enumeration values:
UNDEFINED  undefined.
EDG_WLL_EVNT  event type.
ULM_DATE  timestamp of event generation.
ULM_HOST  hostname of the machine where the event was generated.
ULM_LVL  logging level (system, debug, ...).
EDG_WLL_COMMON_PRIORITY  message priority (yet 0 for asynchronous and 1 for synchronous transfers).
EDG_WLL_COMMON_JOBID  DataGrid job id of the source job.
EDG_WLL_COMMON_SEQCODE  sequence code assigned to the event.
EDG_WLL_COMMON_USER  identity (cert.

subj.) of the generator

EDG_WLL_COMMON_SOURCE  source (WMS component) which generated this event.
EDG_WLL_COMMON_SRC_INSTANCE  instance of WMS component (e.g.

service communication endpoint)

EDG_WLL_TRANSFER_DESTINATION  destination where the job is being transfered to.
EDG_WLL_TRANSFER_DEST_HOST  destination hostname.
EDG_WLL_TRANSFER_DEST_INSTANCE  destination instance.
EDG_WLL_TRANSFER_JOB  job description in receiver language.
EDG_WLL_TRANSFER_RESULT  result of the attempt.
EDG_WLL_TRANSFER_REASON  detailed description of transfer, especially reason of failure.
EDG_WLL_TRANSFER_DEST_JOBID  destination internal jobid.
EDG_WLL_ACCEPTED_FROM  where was the job received from.
EDG_WLL_ACCEPTED_FROM_HOST  sending component hostname.
EDG_WLL_ACCEPTED_FROM_INSTANCE  sending component instance.
EDG_WLL_ACCEPTED_LOCAL_JOBID  new jobId (Condor, Globus ...) assigned by the receiving component.
EDG_WLL_REFUSED_FROM  where was the job received from.
EDG_WLL_REFUSED_FROM_HOST  sending component hostname.
EDG_WLL_REFUSED_FROM_INSTANCE  sending component instance.
EDG_WLL_REFUSED_REASON  reason of refusal.
EDG_WLL_ENQUEUED_QUEUE  destination queue.
EDG_WLL_ENQUEUED_JOB  job description in receiver language.
EDG_WLL_ENQUEUED_RESULT  result of the attempt.
EDG_WLL_ENQUEUED_REASON  detailed description of transfer, especially reason of failure.
EDG_WLL_DEQUEUED_QUEUE  queue name.
EDG_WLL_DEQUEUED_LOCAL_JOBID  new jobId assigned by the receiving component.
EDG_WLL_HELPERCALL_HELPER_NAME  name of the called component.
EDG_WLL_HELPERCALL_HELPER_PARAMS  parameters of the call.
EDG_WLL_HELPERCALL_SRC_ROLE  whether the logging component is called or calling one.
EDG_WLL_HELPERRETURN_HELPER_NAME  name of the called component.
EDG_WLL_HELPERRETURN_RETVAL  returned data.
EDG_WLL_HELPERRETURN_SRC_ROLE  whether the logging component is called or calling one.
EDG_WLL_RUNNING_NODE  worker node where the executable is run.
EDG_WLL_RESUBMISSION_RESULT  result code.
EDG_WLL_RESUBMISSION_REASON  reason for the decision.
EDG_WLL_RESUBMISSION_TAG  value of the attribute on which the decision is based.
EDG_WLL_DONE_STATUS_CODE  way of termination.
EDG_WLL_DONE_REASON  reason for the change.
EDG_WLL_DONE_EXIT_CODE  process exit code.
EDG_WLL_CANCEL_STATUS_CODE  classification of the cancel.
EDG_WLL_CANCEL_REASON  detailed description.
EDG_WLL_ABORT_REASON  reason of abort.
EDG_WLL_CLEAR_REASON  why the job was cleared.
EDG_WLL_MATCH_DEST_ID  Id of the destination CE/queue.
EDG_WLL_PENDING_REASON  why matching CE cannot be found.
EDG_WLL_REGJOB_JDL  job description.
EDG_WLL_REGJOB_NS  NetworkServer handling the job.
EDG_WLL_REGJOB_PARENT  jobid of parent job.
EDG_WLL_REGJOB_JOBTYPE  job type.
EDG_WLL_REGJOB_NSUBJOBS  number of subjobs.
EDG_WLL_REGJOB_SEED  seed for subjob id generation.
EDG_WLL_CHKPT_TAG  checkpoint tag.
EDG_WLL_CHKPT_CLASSAD  checkpoint value.
EDG_WLL_LISTENER_SVC_NAME  port instance name.
EDG_WLL_LISTENER_SVC_HOST  hostname.
EDG_WLL_LISTENER_SVC_PORT  port number.
EDG_WLL_CURDESCR_DESCR  description of current job transformation (output of helper).
EDG_WLL_USERTAG_NAME  tag name.
EDG_WLL_USERTAG_VALUE  tag value.
EDG_WLL_CHANGEACL_USER_ID  DN or VOMS parameter (in format VO:group).
EDG_WLL_CHANGEACL_USER_ID_TYPE  type of information given in user_id (DN or VOMS).
EDG_WLL_CHANGEACL_PERMISSION  ACL permission to change (currently only READ).
EDG_WLL_CHANGEACL_PERMISSION_TYPE  type of permission requested ('allow', 'deny').
EDG_WLL_CHANGEACL_OPERATION  operation requested to perform with ACL (add, remove).

enum edg_wll_CancelStatus_code
 

Enumeration values:
EDG_WLL_CANCEL_UNDEFINED  undefined code.
EDG_WLL_CANCEL_REQ  request acknowledged.
EDG_WLL_CANCEL_REFUSE  request declined by this component.
EDG_WLL_CANCEL_DONE  request completed by whole WMS.
EDG_WLL_CANCEL_ABORT  request refused by whole WMS.

enum edg_wll_ClearReason
 

Enumeration values:
EDG_WLL_CLEAR_UNDEFINED  undefined code.
EDG_WLL_CLEAR_USER  user retrieved output sandbox.
EDG_WLL_CLEAR_TIMEOUT  timed out, resource purge forced.
EDG_WLL_CLEAR_NOOUTPUT  no output was generated.

enum edg_wll_DoneStatus_code
 

Enumeration values:
EDG_WLL_DONE_UNDEFINED  undefined code.
EDG_WLL_DONE_OK  terminated by itself.
EDG_WLL_DONE_FAILED  disappeared from LRMS.
EDG_WLL_DONE_CANCELLED  cancelled by user request.

enum edg_wll_EnQueuedResult
 

Enumeration values:
EDG_WLL_ENQUEUED_UNDEFINED  undefined code.
EDG_WLL_ENQUEUED_START  the sending component has started or is about to start the transfer.
EDG_WLL_ENQUEUED_OK  job was sent successfully.
EDG_WLL_ENQUEUED_REFUSED  job was refused by the other component.
EDG_WLL_ENQUEUED_FAIL  transfer failed for other reason than explicit refusal (eg.

network timeout)

enum edg_wll_HelperCallSrc_role
 

Enumeration values:
EDG_WLL_HELPERCALL_UNDEFINED  undefined code.
EDG_WLL_HELPERCALL_CALLING  the logging component is caller.
EDG_WLL_HELPERCALL_CALLED  the logging component is callee.

enum edg_wll_HelperReturnSrc_role
 

Enumeration values:
EDG_WLL_HELPERRETURN_UNDEFINED  undefined code.
EDG_WLL_HELPERRETURN_CALLING  the logging component is caller.
EDG_WLL_HELPERRETURN_CALLED  the logging component is callee.

enum edg_wll_Level
 

Enumeration values:
EDG_WLL_LEVEL_UNDEFINED  undefined code.
EDG_WLL_LEVEL_EMERGENCY  emergency.
EDG_WLL_LEVEL_ALERT  alert.
EDG_WLL_LEVEL_ERROR  error.
EDG_WLL_LEVEL_WARNING  warning.
EDG_WLL_LEVEL_AUTH  authentication.
EDG_WLL_LEVEL_SECURITY  security.
EDG_WLL_LEVEL_USAGE  usage.
EDG_WLL_LEVEL_SYSTEM  system.
EDG_WLL_LEVEL_IMPORTANT  important.
EDG_WLL_LEVEL_DEBUG  debug.

enum edg_wll_RegJobJobtype
 

Enumeration values:
EDG_WLL_REGJOB_UNDEFINED  undefined code.
EDG_WLL_REGJOB_SIMPLE  simple job.
EDG_WLL_REGJOB_DAG  dag (containing static set of subjobs).
EDG_WLL_REGJOB_PARTITIONABLE  partitionable (may become partitioned).
EDG_WLL_REGJOB_PARTITIONED  partitioned (dynamically created dag).

enum edg_wll_ResubmissionResult
 

Enumeration values:
EDG_WLL_RESUBMISSION_UNDEFINED  undefined code.
EDG_WLL_RESUBMISSION_WILLRESUB  will be resubmitted.
EDG_WLL_RESUBMISSION_WONTRESUB  will not be resubmitted.

enum edg_wll_TransferResult
 

Enumeration values:
EDG_WLL_TRANSFER_UNDEFINED  undefined code.
EDG_WLL_TRANSFER_START  the sending component has started or is about to start the transfer.
EDG_WLL_TRANSFER_OK  job was sent successfully.
EDG_WLL_TRANSFER_REFUSED  job was refused by the other component.
EDG_WLL_TRANSFER_FAIL  transfer failed for other reason than explicit refusal (eg.

network timeout)


Function Documentation

char * edg_wll_CancelStatus_codeToString enum edg_wll_CancelStatus_code    code
 

converts a Cancel Status_code numeric code to corresponding string.

Parameters:
code  a Cancel Status_code numeric code (enum edg_wll_CancelStatus_code)
Returns:
corresponding string (e.g. "REFUSE")

char * edg_wll_ClearReasonToString enum edg_wll_ClearReason    code
 

converts a Clear Reason numeric code to corresponding string.

Parameters:
code  a Clear Reason numeric code (enum edg_wll_ClearReason)
Returns:
corresponding string (e.g. "TIMEOUT")

char * edg_wll_DoneStatus_codeToString enum edg_wll_DoneStatus_code    code
 

converts a Done Status_code numeric code to corresponding string.

Parameters:
code  a Done Status_code numeric code (enum edg_wll_DoneStatus_code)
Returns:
corresponding string (e.g. "FAILED")

char * edg_wll_EnQueuedResultToString enum edg_wll_EnQueuedResult    code
 

converts a EnQueued Result numeric code to corresponding string.

Parameters:
code  a EnQueued Result numeric code (enum edg_wll_EnQueuedResult)
Returns:
corresponding string (e.g. "OK")

char * edg_wll_EventToString edg_wll_EventCode    event
 

convert an event numeric code to the corresponding string.

Parameters:
event  an event numeric code (edg_wll_EventCode)
Returns:
corresponding string (e.g. "JobTransfer")

void edg_wll_FreeEvent edg_wll_Event   event
 

Free the contents of event structure.

Parameters:
IN  event structure to be freed
Warning:
As event structures are likely to be allocated in arrays, the structure itself is not freed. Its the responsibility of the caller to call free(event) if appropriate.

char * edg_wll_HelperCallSrc_roleToString enum edg_wll_HelperCallSrc_role    code
 

converts a HelperCall Src_role numeric code to corresponding string.

Parameters:
code  a HelperCall Src_role numeric code (enum edg_wll_HelperCallSrc_role)
Returns:
corresponding string (e.g. "CALLED")

char * edg_wll_HelperReturnSrc_roleToString enum edg_wll_HelperReturnSrc_role    code
 

converts a HelperReturn Src_role numeric code to corresponding string.

Parameters:
code  a HelperReturn Src_role numeric code (enum edg_wll_HelperReturnSrc_role)
Returns:
corresponding string (e.g. "CALLED")

edg_wll_Event* edg_wll_InitEvent edg_wll_EventCode    eventcode
 

Initialise an event structure.

Returns:
pointer to initialised event structure

char * edg_wll_KeyNameToString edg_wll_KeyNameCode    key
 

convert a ULM key name numeric code to the corresponding string.

Parameters:
key  a ULM key name numeric code (edg_wll_KeyNameCode)
Returns:
corresponding string (e.g. "DG.JOB.TRANSFER.DEST")

char * edg_wll_LevelToString enum edg_wll_Level    code
 

converts a Level numeric code to corresponding string.

Parameters:
code  a Level numeric code (enum edg_wll_Level)
Returns:
corresponding string (e.g. "ALERT")

char * edg_wll_RegJobJobtypeToString enum edg_wll_RegJobJobtype    code
 

converts a RegJob Jobtype numeric code to corresponding string.

Parameters:
code  a RegJob Jobtype numeric code (enum edg_wll_RegJobJobtype)
Returns:
corresponding string (e.g. "DAG")

char * edg_wll_ResubmissionResultToString enum edg_wll_ResubmissionResult    code
 

converts a Resubmission Result numeric code to corresponding string.

Parameters:
code  a Resubmission Result numeric code (enum edg_wll_ResubmissionResult)
Returns:
corresponding string (e.g. "WONTRESUB")

enum edg_wll_CancelStatus_code edg_wll_StringToCancelStatus_code char *    name
 

converts a string Cancel Status_code code to corresponding numeric code.

Parameters:
name  a string representing Cancel Status_code code (e.g. "REFUSE")
Returns:
corresponding numeric code (enum edg_wll_CancelStatus_code)

enum edg_wll_ClearReason edg_wll_StringToClearReason char *    name
 

converts a string Clear Reason code to corresponding numeric code.

Parameters:
name  a string representing Clear Reason code (e.g. "TIMEOUT")
Returns:
corresponding numeric code (enum edg_wll_ClearReason)

enum edg_wll_DoneStatus_code edg_wll_StringToDoneStatus_code char *    name
 

converts a string Done Status_code code to corresponding numeric code.

Parameters:
name  a string representing Done Status_code code (e.g. "FAILED")
Returns:
corresponding numeric code (enum edg_wll_DoneStatus_code)

enum edg_wll_EnQueuedResult edg_wll_StringToEnQueuedResult char *    name
 

converts a string EnQueued Result code to corresponding numeric code.

Parameters:
name  a string representing EnQueued Result code (e.g. "OK")
Returns:
corresponding numeric code (enum edg_wll_EnQueuedResult)

edg_wll_EventCode edg_wll_StringToEvent char *    name
 

convert a string event name to the corresponding numeric code.

Parameters:
name  a string event name (e.g. "JobTransfer")
Returns:
corresponding numeric code (edg_wll_EventCode)

enum edg_wll_HelperCallSrc_role edg_wll_StringToHelperCallSrc_role char *    name
 

converts a string HelperCall Src_role code to corresponding numeric code.

Parameters:
name  a string representing HelperCall Src_role code (e.g. "CALLED")
Returns:
corresponding numeric code (enum edg_wll_HelperCallSrc_role)

enum edg_wll_HelperReturnSrc_role edg_wll_StringToHelperReturnSrc_role char *    name
 

converts a string HelperReturn Src_role code to corresponding numeric code.

Parameters:
name  a string representing HelperReturn Src_role code (e.g. "CALLED")
Returns:
corresponding numeric code (enum edg_wll_HelperReturnSrc_role)

edg_wll_KeyNameCode edg_wll_StringToKeyName char *    name
 

convert a string ULM key name to the corresponding numeric code.

Parameters:
name  a string ULM key name (e.g. "DG.JOB.TRANSFER.DEST")
Returns:
corresponding numeric code (edg_wll_KeyNameCode)

enum edg_wll_Level edg_wll_StringToLevel char *    name
 

converts a string Level code to corresponding numeric code.

Parameters:
name  a string representing Level code (e.g. "ALERT")
Returns:
corresponding numeric code (enum edg_wll_Level)

enum edg_wll_RegJobJobtype edg_wll_StringToRegJobJobtype char *    name
 

converts a string RegJob Jobtype code to corresponding numeric code.

Parameters:
name  a string representing RegJob Jobtype code (e.g. "DAG")
Returns:
corresponding numeric code (enum edg_wll_RegJobJobtype)

enum edg_wll_ResubmissionResult edg_wll_StringToResubmissionResult char *    name
 

converts a string Resubmission Result code to corresponding numeric code.

Parameters:
name  a string representing Resubmission Result code (e.g. "WONTRESUB")
Returns:
corresponding numeric code (enum edg_wll_ResubmissionResult)

enum edg_wll_TransferResult edg_wll_StringToTransferResult char *    name
 

converts a string Transfer Result code to corresponding numeric code.

Parameters:
name  a string representing Transfer Result code (e.g. "OK")
Returns:
corresponding numeric code (enum edg_wll_TransferResult)

char * edg_wll_TransferResultToString enum edg_wll_TransferResult    code
 

converts a Transfer Result numeric code to corresponding string.

Parameters:
code  a Transfer Result numeric code (enum edg_wll_TransferResult)
Returns:
corresponding string (e.g. "OK")


Generated on Fri May 14 14:18:56 2004 for L&B API C by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002