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

events.h File Reference

#include <sys/time.h>
#include <inttypes.h>
#include "glite/wmsutils/jobid/cjobid.h"
#include "glite/lb/context.h"
#include "glite/lb/notifid.h"

Go to the source code of this file.

Data Structures

struct  _edg_wll_AbortEvent
struct  _edg_wll_AcceptedEvent
struct  _edg_wll_AnyEvent
struct  _edg_wll_CancelEvent
struct  _edg_wll_ChangeACLEvent
struct  _edg_wll_ChkptEvent
struct  _edg_wll_ClearEvent
struct  _edg_wll_CurDescrEvent
struct  _edg_wll_DeQueuedEvent
struct  _edg_wll_DoneEvent
struct  _edg_wll_EnQueuedEvent
union  _edg_wll_Event
struct  _edg_wll_HelperCallEvent
struct  _edg_wll_HelperReturnEvent
struct  _edg_wll_ListenerEvent
struct  _edg_wll_MatchEvent
struct  _edg_wll_NotificationEvent
struct  _edg_wll_PendingEvent
struct  _edg_wll_PurgeEvent
struct  _edg_wll_ReallyRunningEvent
struct  _edg_wll_RefusedEvent
struct  _edg_wll_RegJobEvent
struct  _edg_wll_ResourceUsageEvent
struct  _edg_wll_ResubmissionEvent
struct  _edg_wll_RunningEvent
struct  _edg_wll_TransferEvent
struct  _edg_wll_UserTagEvent

Defines

#define _EDG_WLL_EVENT_COMMON

Typedefs

typedef char * edg_wll_LogLine
typedef enum _edg_wll_EventCode edg_wll_EventCode
typedef enum _edg_wll_KeyNameCode edg_wll_KeyNameCode
typedef _edg_wll_AnyEvent edg_wll_AnyEvent
typedef _edg_wll_TransferEvent edg_wll_TransferEvent
typedef _edg_wll_AcceptedEvent edg_wll_AcceptedEvent
typedef _edg_wll_RefusedEvent edg_wll_RefusedEvent
typedef _edg_wll_EnQueuedEvent edg_wll_EnQueuedEvent
typedef _edg_wll_DeQueuedEvent edg_wll_DeQueuedEvent
typedef _edg_wll_HelperCallEvent edg_wll_HelperCallEvent
typedef _edg_wll_HelperReturnEvent edg_wll_HelperReturnEvent
typedef _edg_wll_RunningEvent edg_wll_RunningEvent
typedef _edg_wll_ResubmissionEvent edg_wll_ResubmissionEvent
typedef _edg_wll_DoneEvent edg_wll_DoneEvent
typedef _edg_wll_CancelEvent edg_wll_CancelEvent
typedef _edg_wll_AbortEvent edg_wll_AbortEvent
typedef _edg_wll_ClearEvent edg_wll_ClearEvent
typedef _edg_wll_PurgeEvent edg_wll_PurgeEvent
typedef _edg_wll_MatchEvent edg_wll_MatchEvent
typedef _edg_wll_PendingEvent edg_wll_PendingEvent
typedef _edg_wll_RegJobEvent edg_wll_RegJobEvent
typedef _edg_wll_ChkptEvent edg_wll_ChkptEvent
typedef _edg_wll_ListenerEvent edg_wll_ListenerEvent
typedef _edg_wll_CurDescrEvent edg_wll_CurDescrEvent
typedef _edg_wll_UserTagEvent edg_wll_UserTagEvent
typedef _edg_wll_ChangeACLEvent edg_wll_ChangeACLEvent
typedef _edg_wll_NotificationEvent edg_wll_NotificationEvent
typedef _edg_wll_ResourceUsageEvent edg_wll_ResourceUsageEvent
typedef _edg_wll_ReallyRunningEvent edg_wll_ReallyRunningEvent
typedef _edg_wll_Event edg_wll_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_NOTIFICATION,
  EDG_WLL_EVENT_RESOURCEUSAGE, EDG_WLL_EVENT_REALLYRUNNING, EDG_WLL_EVENT__LAST
}
enum  _edg_wll_KeyNameCode {
  UNDEFINED, EDG_WLL_EVNT, ULM_DATE, ULM_ARR_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, EDG_WLL_NOTIFICATION_NOTIFID,
  EDG_WLL_NOTIFICATION_OWNER, EDG_WLL_NOTIFICATION_DEST_HOST, EDG_WLL_NOTIFICATION_DEST_PORT, EDG_WLL_NOTIFICATION_JOBSTAT,
  EDG_WLL_RESOURCEUSAGE_RESOURCE, EDG_WLL_RESOURCEUSAGE_QUANTITY, EDG_WLL_RESOURCEUSAGE_UNIT, EDG_WLL_REALLYRUNNING_WN_SEQ,
  EDG_WLL_INTERNAL_TYPE
}
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, EDG_WLL_RESUBMISSION_SHALLOW }
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 (const char *name)
 convert a string event name to the corresponding numeric code

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

edg_wll_Eventedg_wll_InitEvent (edg_wll_EventCode eventcode)
void edg_wll_FreeEvent (edg_wll_Event *event)


Generated on Thu May 11 20:44:15 2006 for Glite LB Client: C - Interface by doxygen 1.3.5