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

producer.h File Reference

client API for storing data into L&B service More...

#include "glite/lb/context.h"
#include "glite/lb/events.h"

Go to the source code of this file.

Defines

#define EDG_WLL_FORMAT_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.PRIORITY=%d DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.EVNT=\"%s\" DG.JOBID=\"%s\" DG.SEQCODE=\"%|Us\" "
#define EDG_WLL_FORMAT_USER   "DG.USER=\"%|Us\" "
#define EDG_WLL_FORMAT_TRANSFER   "DG.TRANSFER.DESTINATION=\"%s\" DG.TRANSFER.DEST_HOST=\"%|Us\" DG.TRANSFER.DEST_INSTANCE=\"%|Us\" DG.TRANSFER.JOB=\"%|Us\" DG.TRANSFER.RESULT=\"%s\" DG.TRANSFER.REASON=\"%|Us\" DG.TRANSFER.DEST_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_ACCEPTED   "DG.ACCEPTED.FROM=\"%s\" DG.ACCEPTED.FROM_HOST=\"%|Us\" DG.ACCEPTED.FROM_INSTANCE=\"%|Us\" DG.ACCEPTED.LOCAL_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_REFUSED   "DG.REFUSED.FROM=\"%s\" DG.REFUSED.FROM_HOST=\"%|Us\" DG.REFUSED.FROM_INSTANCE=\"%|Us\" DG.REFUSED.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_ENQUEUED   "DG.ENQUEUED.QUEUE=\"%|Us\" DG.ENQUEUED.JOB=\"%|Us\" DG.ENQUEUED.RESULT=\"%s\" DG.ENQUEUED.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_DEQUEUED   "DG.DEQUEUED.QUEUE=\"%|Us\" DG.DEQUEUED.LOCAL_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_HELPERCALL   "DG.HELPERCALL.HELPER_NAME=\"%|Us\" DG.HELPERCALL.HELPER_PARAMS=\"%|Us\" DG.HELPERCALL.SRC_ROLE=\"%s\" "
#define EDG_WLL_FORMAT_HELPERRETURN   "DG.HELPERRETURN.HELPER_NAME=\"%|Us\" DG.HELPERRETURN.RETVAL=\"%|Us\" DG.HELPERRETURN.SRC_ROLE=\"%s\" "
#define EDG_WLL_FORMAT_RUNNING   "DG.RUNNING.NODE=\"%|Us\" "
#define EDG_WLL_FORMAT_RESUBMISSION   "DG.RESUBMISSION.RESULT=\"%s\" DG.RESUBMISSION.REASON=\"%|Us\" DG.RESUBMISSION.TAG=\"%|Us\" "
#define EDG_WLL_FORMAT_DONE   "DG.DONE.STATUS_CODE=\"%s\" DG.DONE.REASON=\"%|Us\" DG.DONE.EXIT_CODE=\"%d\" "
#define EDG_WLL_FORMAT_CANCEL   "DG.CANCEL.STATUS_CODE=\"%s\" DG.CANCEL.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_ABORT   "DG.ABORT.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CLEAR   "DG.CLEAR.REASON=\"%s\" "
#define EDG_WLL_FORMAT_PURGE   ""
#define EDG_WLL_FORMAT_MATCH   "DG.MATCH.DEST_ID=\"%|Us\" "
#define EDG_WLL_FORMAT_PENDING   "DG.PENDING.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_REGJOB   "DG.REGJOB.JDL=\"%|Us\" DG.REGJOB.NS=\"%|Us\" DG.REGJOB.PARENT=\"%s\" DG.REGJOB.JOBTYPE=\"%s\" DG.REGJOB.NSUBJOBS=\"%d\" DG.REGJOB.SEED=\"%|Us\" "
#define EDG_WLL_FORMAT_CHKPT   "DG.CHKPT.TAG=\"%|Us\" DG.CHKPT.CLASSAD=\"%|Us\" "
#define EDG_WLL_FORMAT_LISTENER   "DG.LISTENER.SVC_NAME=\"%|Us\" DG.LISTENER.SVC_HOST=\"%|Us\" DG.LISTENER.SVC_PORT=\"%d\" "
#define EDG_WLL_FORMAT_CURDESCR   "DG.CURDESCR.DESCR=\"%|Us\" "
#define EDG_WLL_FORMAT_USERTAG   "DG.USERTAG.NAME=\"%|Us\" DG.USERTAG.VALUE=\"%|Us\" "
#define EDG_WLL_FORMAT_CHANGEACL   "DG.CHANGEACL.USER_ID=\"%|Us\" DG.CHANGEACL.USER_ID_TYPE=\"%d\" DG.CHANGEACL.PERMISSION=\"%d\" DG.CHANGEACL.PERMISSION_TYPE=\"%d\" DG.CHANGEACL.OPERATION=\"%d\" "
#define EDG_WLL_FORMAT_NOTIFICATION   "DG.NOTIFICATION.NOTIFID=\"%s\" DG.NOTIFICATION.OWNER=\"%|Us\" DG.NOTIFICATION.DEST_HOST=\"%|Us\" DG.NOTIFICATION.DEST_PORT=\"%d\" DG.NOTIFICATION.EXPIRES=\"%d\" DG.NOTIFICATION.JOBSTAT=\"%|Us\" "
#define EDG_WLL_FORMAT_RESOURCEUSAGE   "DG.RESOURCEUSAGE.RESOURCE=\"%|Us\" DG.RESOURCEUSAGE.QUANTITY=\"%f\" DG.RESOURCEUSAGE.UNIT=\"%|Us\" "
#define EDG_WLL_FORMAT_REALLYRUNNING   "DG.REALLYRUNNING.WN_SEQ=\"%|Us\" "
#define EDG_WLL_FORMAT_SUSPEND   "DG.SUSPEND.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_RESUME   "DG.RESUME.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_COLLECTIONSTATE   "DG.COLLECTIONSTATE.STATE=\"%|Us\" DG.COLLECTIONSTATE.DONE_CODE=\"%d\" DG.COLLECTIONSTATE.HISTOGRAM=\"%|Us\" DG.COLLECTIONSTATE.CHILD=\"%s\" DG.COLLECTIONSTATE.CHILD_EVENT=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSQUEUED   "DG.PBSQUEUED.QUEUE=\"%|Us\" DG.PBSQUEUED.OWNER=\"%|Us\" DG.PBSQUEUED.NAME=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSMATCH   "DG.PBSMATCH.DEST_HOST=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSPENDING   "DG.PBSPENDING.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSRUN   "DG.PBSRUN.SCHEDULER=\"%|Us\" DG.PBSRUN.DEST_HOST=\"%|Us\" DG.PBSRUN.PID=\"%d\" "
#define EDG_WLL_FORMAT_PBSRERUN   ""
#define EDG_WLL_FORMAT_PBSDONE   "DG.PBSDONE.EXIT_STATUS=\"%d\" "
#define EDG_WLL_FORMAT_PBSDEQUEUED   ""
#define EDG_WLL_FORMAT_PBSRESOURCEUSAGE   "DG.PBSRESOURCEUSAGE.USAGE=\"%s\" DG.PBSRESOURCEUSAGE.NAME=\"%|Us\" DG.PBSRESOURCEUSAGE.QUANTITY=\"%f\" DG.PBSRESOURCEUSAGE.UNIT=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSERROR   "DG.PBSERROR.ERROR_DESC=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORMATCH   "DG.CONDORMATCH.OWNER=\"%|Us\" DG.CONDORMATCH.DEST_HOST=\"%|Us\" DG.CONDORMATCH.PREEMPTING=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORREJECT   "DG.CONDORREJECT.OWNER=\"%|Us\" DG.CONDORREJECT.STATUS_CODE=\"%s\" "
#define EDG_WLL_FORMAT_CONDORSHADOWSTARTED   "DG.CONDORSHADOWSTARTED.SHADOW_HOST=\"%|Us\" DG.CONDORSHADOWSTARTED.SHADOW_PORT=\"%d\" DG.CONDORSHADOWSTARTED.SHADOW_PID=\"%d\" DG.CONDORSHADOWSTARTED.SHADOW_STATUS=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORSHADOWEXITED   "DG.CONDORSHADOWEXITED.SHADOW_PID=\"%d\" DG.CONDORSHADOWEXITED.SHADOW_EXIT_STATUS=\"%d\" "
#define EDG_WLL_FORMAT_CONDORSTARTERSTARTED   "DG.CONDORSTARTERSTARTED.STARTER_PID=\"%d\" DG.CONDORSTARTERSTARTED.UNIVERSE=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORSTARTEREXITED   "DG.CONDORSTARTEREXITED.STARTER_PID=\"%d\" DG.CONDORSTARTEREXITED.STARTER_EXIT_STATUS=\"%d\" DG.CONDORSTARTEREXITED.JOB_PID=\"%d\" DG.CONDORSTARTEREXITED.JOB_EXIT_STATUS=\"%d\" "
#define EDG_WLL_FORMAT_CONDORRESOURCEUSAGE   "DG.CONDORRESOURCEUSAGE.USAGE=\"%s\" DG.CONDORRESOURCEUSAGE.NAME=\"%|Us\" DG.CONDORRESOURCEUSAGE.QUANTITY=\"%f\" DG.CONDORRESOURCEUSAGE.UNIT=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORERROR   "DG.CONDORERROR.ERROR_DESC=\"%|Us\" "
#define EDG_WLL_FORMAT_NOTIFICATION_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.TYPE=\"notification\" "
#define EDG_WLL_FORMAT_SYSCMPSTAT   "DG.SCHED.STATUS=\"%|Us\" "
#define EDG_WLL_FORMAT_SYSCLSTAT   "DG.SCHED.NODE=\"%|Us\" DG.SCHED.STATUS=\"%|Us\" "
#define EDG_WLL_JOB_SIMPLE   EDG_WLL_REGJOB_SIMPLE

Enumerations

enum  edg_wll_Permission { EDG_WLL_PERM_READ = 1, EDG_WLL_PERM_WRITE = 4, EDG_WLL_PERM_ADMIN = 8 }
enum  edg_wll_PermissionType { EDG_WLL_PERM_ALLOW, EDG_WLL_PERM_DENY }
enum  edg_wll_ACLOperation { EDG_WLL_ACL_ADD, EDG_WLL_ACL_REMOVE }
enum  edg_wll_UserIdType { EDG_WLL_USER_SUBJECT, EDG_WLL_USER_VOMS_GROUP }

Functions

int edg_wll_LogTransfer (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *result, const char *reason, const char *dest_jobid)
 edg_wll_LogTransfer
int edg_wll_LogTransferProxy (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *result, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferProxy
int edg_wll_LogTransferSTART (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferSTART
int edg_wll_LogTransferSTARTProxy (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferSTARTProxy
int edg_wll_LogTransferOK (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferOK
int edg_wll_LogTransferOKProxy (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferOKProxy
int edg_wll_LogTransferREFUSED (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferREFUSED
int edg_wll_LogTransferREFUSEDProxy (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferREFUSEDProxy
int edg_wll_LogTransferFAIL (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferFAIL
int edg_wll_LogTransferFAILProxy (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid)
 edg_wll_LogTransferFAILProxy
int edg_wll_LogAccepted (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *local_jobid)
 edg_wll_LogAccepted
int edg_wll_LogAcceptedProxy (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *local_jobid)
 edg_wll_LogAcceptedProxy
int edg_wll_LogRefused (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *reason)
 edg_wll_LogRefused
int edg_wll_LogRefusedProxy (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *reason)
 edg_wll_LogRefusedProxy
int edg_wll_LogEnQueued (edg_wll_Context context, const char *queue, const char *job, const char *result, const char *reason)
 edg_wll_LogEnQueued
int edg_wll_LogEnQueuedProxy (edg_wll_Context context, const char *queue, const char *job, const char *result, const char *reason)
 edg_wll_LogEnQueuedProxy
int edg_wll_LogEnQueuedSTART (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedSTART
int edg_wll_LogEnQueuedSTARTProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedSTARTProxy
int edg_wll_LogEnQueuedOK (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedOK
int edg_wll_LogEnQueuedOKProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedOKProxy
int edg_wll_LogEnQueuedREFUSED (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedREFUSED
int edg_wll_LogEnQueuedREFUSEDProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedREFUSEDProxy
int edg_wll_LogEnQueuedFAIL (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedFAIL
int edg_wll_LogEnQueuedFAILProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
 edg_wll_LogEnQueuedFAILProxy
int edg_wll_LogDeQueued (edg_wll_Context context, const char *queue, const char *local_jobid)
 edg_wll_LogDeQueued
int edg_wll_LogDeQueuedProxy (edg_wll_Context context, const char *queue, const char *local_jobid)
 edg_wll_LogDeQueuedProxy
int edg_wll_LogHelperCall (edg_wll_Context context, const char *helper_name, const char *helper_params, const char *src_role)
 edg_wll_LogHelperCall
int edg_wll_LogHelperCallProxy (edg_wll_Context context, const char *helper_name, const char *helper_params, const char *src_role)
 edg_wll_LogHelperCallProxy
int edg_wll_LogHelperCallCALLING (edg_wll_Context context, const char *helper_name, const char *helper_params)
 edg_wll_LogHelperCallCALLING
int edg_wll_LogHelperCallCALLINGProxy (edg_wll_Context context, const char *helper_name, const char *helper_params)
 edg_wll_LogHelperCallCALLINGProxy
int edg_wll_LogHelperCallCALLED (edg_wll_Context context, const char *helper_name, const char *helper_params)
 edg_wll_LogHelperCallCALLED
int edg_wll_LogHelperCallCALLEDProxy (edg_wll_Context context, const char *helper_name, const char *helper_params)
 edg_wll_LogHelperCallCALLEDProxy
int edg_wll_LogHelperReturn (edg_wll_Context context, const char *helper_name, const char *retval, const char *src_role)
 edg_wll_LogHelperReturn
int edg_wll_LogHelperReturnProxy (edg_wll_Context context, const char *helper_name, const char *retval, const char *src_role)
 edg_wll_LogHelperReturnProxy
int edg_wll_LogHelperReturnCALLING (edg_wll_Context context, const char *helper_name, const char *retval)
 edg_wll_LogHelperReturnCALLING
int edg_wll_LogHelperReturnCALLINGProxy (edg_wll_Context context, const char *helper_name, const char *retval)
 edg_wll_LogHelperReturnCALLINGProxy
int edg_wll_LogHelperReturnCALLED (edg_wll_Context context, const char *helper_name, const char *retval)
 edg_wll_LogHelperReturnCALLED
int edg_wll_LogHelperReturnCALLEDProxy (edg_wll_Context context, const char *helper_name, const char *retval)
 edg_wll_LogHelperReturnCALLEDProxy
int edg_wll_LogRunning (edg_wll_Context context, const char *node)
 edg_wll_LogRunning
int edg_wll_LogRunningProxy (edg_wll_Context context, const char *node)
 edg_wll_LogRunningProxy
int edg_wll_LogResubmission (edg_wll_Context context, const char *result, const char *reason, const char *tag)
 edg_wll_LogResubmission
int edg_wll_LogResubmissionProxy (edg_wll_Context context, const char *result, const char *reason, const char *tag)
 edg_wll_LogResubmissionProxy
int edg_wll_LogResubmissionWILLRESUB (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionWILLRESUB
int edg_wll_LogResubmissionWILLRESUBProxy (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionWILLRESUBProxy
int edg_wll_LogResubmissionWONTRESUB (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionWONTRESUB
int edg_wll_LogResubmissionWONTRESUBProxy (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionWONTRESUBProxy
int edg_wll_LogResubmissionSHALLOW (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionSHALLOW
int edg_wll_LogResubmissionSHALLOWProxy (edg_wll_Context context, const char *reason, const char *tag)
 edg_wll_LogResubmissionSHALLOWProxy
int edg_wll_LogDone (edg_wll_Context context, const char *status_code, const char *reason, const int exit_code)
 edg_wll_LogDone
int edg_wll_LogDoneProxy (edg_wll_Context context, const char *status_code, const char *reason, const int exit_code)
 edg_wll_LogDoneProxy
int edg_wll_LogDoneOK (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneOK
int edg_wll_LogDoneOKProxy (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneOKProxy
int edg_wll_LogDoneFAILED (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneFAILED
int edg_wll_LogDoneFAILEDProxy (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneFAILEDProxy
int edg_wll_LogDoneCANCELLED (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneCANCELLED
int edg_wll_LogDoneCANCELLEDProxy (edg_wll_Context context, const char *reason, const int exit_code)
 edg_wll_LogDoneCANCELLEDProxy
int edg_wll_LogCancel (edg_wll_Context context, const char *status_code, const char *reason)
 edg_wll_LogCancel
int edg_wll_LogCancelProxy (edg_wll_Context context, const char *status_code, const char *reason)
 edg_wll_LogCancelProxy
int edg_wll_LogCancelREQ (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelREQ
int edg_wll_LogCancelREQProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelREQProxy
int edg_wll_LogCancelREFUSE (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelREFUSE
int edg_wll_LogCancelREFUSEProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelREFUSEProxy
int edg_wll_LogCancelDONE (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelDONE
int edg_wll_LogCancelDONEProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelDONEProxy
int edg_wll_LogCancelABORT (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelABORT
int edg_wll_LogCancelABORTProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogCancelABORTProxy
int edg_wll_LogAbort (edg_wll_Context context, const char *reason)
 edg_wll_LogAbort
int edg_wll_LogAbortProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogAbortProxy
int edg_wll_LogClear (edg_wll_Context context, const char *reason)
 edg_wll_LogClear
int edg_wll_LogClearProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogClearProxy
int edg_wll_LogClearUSER (edg_wll_Context context)
 edg_wll_LogClearUSER
int edg_wll_LogClearUSERProxy (edg_wll_Context context)
 edg_wll_LogClearUSERProxy
int edg_wll_LogClearTIMEOUT (edg_wll_Context context)
 edg_wll_LogClearTIMEOUT
int edg_wll_LogClearTIMEOUTProxy (edg_wll_Context context)
 edg_wll_LogClearTIMEOUTProxy
int edg_wll_LogClearNOOUTPUT (edg_wll_Context context)
 edg_wll_LogClearNOOUTPUT
int edg_wll_LogClearNOOUTPUTProxy (edg_wll_Context context)
 edg_wll_LogClearNOOUTPUTProxy
int edg_wll_LogPurge (edg_wll_Context context)
 edg_wll_LogPurge
int edg_wll_LogPurgeProxy (edg_wll_Context context)
 edg_wll_LogPurgeProxy
int edg_wll_LogMatch (edg_wll_Context context, const char *dest_id)
 edg_wll_LogMatch
int edg_wll_LogMatchProxy (edg_wll_Context context, const char *dest_id)
 edg_wll_LogMatchProxy
int edg_wll_LogPending (edg_wll_Context context, const char *reason)
 edg_wll_LogPending
int edg_wll_LogPendingProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogPendingProxy
int edg_wll_LogRegJob (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const char *jobtype, const int nsubjobs, const char *seed)
 edg_wll_LogRegJob
int edg_wll_LogRegJobProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const char *jobtype, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobProxy
int edg_wll_LogRegJobSIMPLE (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobSIMPLE
int edg_wll_LogRegJobSIMPLEProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobSIMPLEProxy
int edg_wll_LogRegJobDAG (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobDAG
int edg_wll_LogRegJobDAGProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobDAGProxy
int edg_wll_LogRegJobPARTITIONABLE (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPARTITIONABLE
int edg_wll_LogRegJobPARTITIONABLEProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPARTITIONABLEProxy
int edg_wll_LogRegJobPARTITIONED (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPARTITIONED
int edg_wll_LogRegJobPARTITIONEDProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPARTITIONEDProxy
int edg_wll_LogRegJobCOLLECTION (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobCOLLECTION
int edg_wll_LogRegJobCOLLECTIONProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobCOLLECTIONProxy
int edg_wll_LogRegJobPBS (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPBS
int edg_wll_LogRegJobPBSProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobPBSProxy
int edg_wll_LogRegJobCONDOR (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobCONDOR
int edg_wll_LogRegJobCONDORProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
 edg_wll_LogRegJobCONDORProxy
int edg_wll_LogChkpt (edg_wll_Context context, const char *tag, const char *classad)
 edg_wll_LogChkpt
int edg_wll_LogChkptProxy (edg_wll_Context context, const char *tag, const char *classad)
 edg_wll_LogChkptProxy
int edg_wll_LogListener (edg_wll_Context context, const char *svc_name, const char *svc_host, const uint16_t svc_port)
 edg_wll_LogListener
int edg_wll_LogListenerProxy (edg_wll_Context context, const char *svc_name, const char *svc_host, const uint16_t svc_port)
 edg_wll_LogListenerProxy
int edg_wll_LogCurDescr (edg_wll_Context context, const char *descr)
 edg_wll_LogCurDescr
int edg_wll_LogCurDescrProxy (edg_wll_Context context, const char *descr)
 edg_wll_LogCurDescrProxy
int edg_wll_LogUserTag (edg_wll_Context context, const char *name, const char *value)
 edg_wll_LogUserTag
int edg_wll_LogUserTagProxy (edg_wll_Context context, const char *name, const char *value)
 edg_wll_LogUserTagProxy
int edg_wll_LogChangeACL (edg_wll_Context context, const char *user_id, const int user_id_type, const int permission, const int permission_type, const int operation)
 edg_wll_LogChangeACL
int edg_wll_LogChangeACLProxy (edg_wll_Context context, const char *user_id, const int user_id_type, const int permission, const int permission_type, const int operation)
 edg_wll_LogChangeACLProxy
int edg_wll_LogNotification (edg_wll_Context context, const edg_wll_NotifId notifId, const char *owner, const char *dest_host, const uint16_t dest_port, const int expires, const char *jobstat)
 edg_wll_LogNotification
int edg_wll_LogNotificationProxy (edg_wll_Context context, const edg_wll_NotifId notifId, const char *owner, const char *dest_host, const uint16_t dest_port, const int expires, const char *jobstat)
 edg_wll_LogNotificationProxy
int edg_wll_LogResourceUsage (edg_wll_Context context, const char *resource, const double quantity, const char *unit)
 edg_wll_LogResourceUsage
int edg_wll_LogResourceUsageProxy (edg_wll_Context context, const char *resource, const double quantity, const char *unit)
 edg_wll_LogResourceUsageProxy
int edg_wll_LogReallyRunning (edg_wll_Context context, const char *wn_seq)
 edg_wll_LogReallyRunning
int edg_wll_LogReallyRunningProxy (edg_wll_Context context, const char *wn_seq)
 edg_wll_LogReallyRunningProxy
int edg_wll_LogSuspend (edg_wll_Context context, const char *reason)
 edg_wll_LogSuspend
int edg_wll_LogSuspendProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogSuspendProxy
int edg_wll_LogResume (edg_wll_Context context, const char *reason)
 edg_wll_LogResume
int edg_wll_LogResumeProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogResumeProxy
int edg_wll_LogCollectionState (edg_wll_Context context, const char *state, const int done_code, const char *histogram, const edg_wlc_JobId child, const char *child_event)
 edg_wll_LogCollectionState
int edg_wll_LogCollectionStateProxy (edg_wll_Context context, const char *state, const int done_code, const char *histogram, const edg_wlc_JobId child, const char *child_event)
 edg_wll_LogCollectionStateProxy
int edg_wll_LogPBSQueued (edg_wll_Context context, const char *queue, const char *owner, const char *name)
 edg_wll_LogPBSQueued
int edg_wll_LogPBSQueuedProxy (edg_wll_Context context, const char *queue, const char *owner, const char *name)
 edg_wll_LogPBSQueuedProxy
int edg_wll_LogPBSMatch (edg_wll_Context context, const char *dest_host)
 edg_wll_LogPBSMatch
int edg_wll_LogPBSMatchProxy (edg_wll_Context context, const char *dest_host)
 edg_wll_LogPBSMatchProxy
int edg_wll_LogPBSPending (edg_wll_Context context, const char *reason)
 edg_wll_LogPBSPending
int edg_wll_LogPBSPendingProxy (edg_wll_Context context, const char *reason)
 edg_wll_LogPBSPendingProxy
int edg_wll_LogPBSRun (edg_wll_Context context, const char *scheduler, const char *dest_host, const int pid)
 edg_wll_LogPBSRun
int edg_wll_LogPBSRunProxy (edg_wll_Context context, const char *scheduler, const char *dest_host, const int pid)
 edg_wll_LogPBSRunProxy
int edg_wll_LogPBSRerun (edg_wll_Context context)
 edg_wll_LogPBSRerun
int edg_wll_LogPBSRerunProxy (edg_wll_Context context)
 edg_wll_LogPBSRerunProxy
int edg_wll_LogPBSDone (edg_wll_Context context, const int exit_status)
 edg_wll_LogPBSDone
int edg_wll_LogPBSDoneProxy (edg_wll_Context context, const int exit_status)
 edg_wll_LogPBSDoneProxy
int edg_wll_LogPBSDequeued (edg_wll_Context context)
 edg_wll_LogPBSDequeued
int edg_wll_LogPBSDequeuedProxy (edg_wll_Context context)
 edg_wll_LogPBSDequeuedProxy
int edg_wll_LogPBSResourceUsage (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsage
int edg_wll_LogPBSResourceUsageProxy (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsageProxy
int edg_wll_LogPBSResourceUsageREQUESTED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsageREQUESTED
int edg_wll_LogPBSResourceUsageREQUESTEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsageREQUESTEDProxy
int edg_wll_LogPBSResourceUsageUSED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsageUSED
int edg_wll_LogPBSResourceUsageUSEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogPBSResourceUsageUSEDProxy
int edg_wll_LogPBSError (edg_wll_Context context, const char *error_desc)
 edg_wll_LogPBSError
int edg_wll_LogPBSErrorProxy (edg_wll_Context context, const char *error_desc)
 edg_wll_LogPBSErrorProxy
int edg_wll_LogCondorMatch (edg_wll_Context context, const char *owner, const char *dest_host, const char *preempting)
 edg_wll_LogCondorMatch
int edg_wll_LogCondorMatchProxy (edg_wll_Context context, const char *owner, const char *dest_host, const char *preempting)
 edg_wll_LogCondorMatchProxy
int edg_wll_LogCondorReject (edg_wll_Context context, const char *owner, const char *status_code)
 edg_wll_LogCondorReject
int edg_wll_LogCondorRejectProxy (edg_wll_Context context, const char *owner, const char *status_code)
 edg_wll_LogCondorRejectProxy
int edg_wll_LogCondorRejectNOMATCH (edg_wll_Context context, const char *owner)
 edg_wll_LogCondorRejectNOMATCH
int edg_wll_LogCondorRejectNOMATCHProxy (edg_wll_Context context, const char *owner)
 edg_wll_LogCondorRejectNOMATCHProxy
int edg_wll_LogCondorRejectOTHER (edg_wll_Context context, const char *owner)
 edg_wll_LogCondorRejectOTHER
int edg_wll_LogCondorRejectOTHERProxy (edg_wll_Context context, const char *owner)
 edg_wll_LogCondorRejectOTHERProxy
int edg_wll_LogCondorShadowStarted (edg_wll_Context context, const char *shadow_host, const uint16_t shadow_port, const int shadow_pid, const char *shadow_status)
 edg_wll_LogCondorShadowStarted
int edg_wll_LogCondorShadowStartedProxy (edg_wll_Context context, const char *shadow_host, const uint16_t shadow_port, const int shadow_pid, const char *shadow_status)
 edg_wll_LogCondorShadowStartedProxy
int edg_wll_LogCondorShadowExited (edg_wll_Context context, const int shadow_pid, const int shadow_exit_status)
 edg_wll_LogCondorShadowExited
int edg_wll_LogCondorShadowExitedProxy (edg_wll_Context context, const int shadow_pid, const int shadow_exit_status)
 edg_wll_LogCondorShadowExitedProxy
int edg_wll_LogCondorStarterStarted (edg_wll_Context context, const int starter_pid, const char *universe)
 edg_wll_LogCondorStarterStarted
int edg_wll_LogCondorStarterStartedProxy (edg_wll_Context context, const int starter_pid, const char *universe)
 edg_wll_LogCondorStarterStartedProxy
int edg_wll_LogCondorStarterExited (edg_wll_Context context, const int starter_pid, const int starter_exit_status, const int job_pid, const int job_exit_status)
 edg_wll_LogCondorStarterExited
int edg_wll_LogCondorStarterExitedProxy (edg_wll_Context context, const int starter_pid, const int starter_exit_status, const int job_pid, const int job_exit_status)
 edg_wll_LogCondorStarterExitedProxy
int edg_wll_LogCondorResourceUsage (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsage
int edg_wll_LogCondorResourceUsageProxy (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsageProxy
int edg_wll_LogCondorResourceUsageREQUESTED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsageREQUESTED
int edg_wll_LogCondorResourceUsageREQUESTEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsageREQUESTEDProxy
int edg_wll_LogCondorResourceUsageUSED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsageUSED
int edg_wll_LogCondorResourceUsageUSEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 edg_wll_LogCondorResourceUsageUSEDProxy
int edg_wll_LogCondorError (edg_wll_Context context, const char *error_desc)
 edg_wll_LogCondorError
int edg_wll_LogCondorErrorProxy (edg_wll_Context context, const char *error_desc)
 edg_wll_LogCondorErrorProxy
int edg_wll_LogEvent (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic asynchronous logging function
int edg_wll_LogEventSync (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic synchronous logging function
int edg_wll_LogEventProxy (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic synchronous logging function
int edg_wll_LogFlush (edg_wll_Context context, struct timeval *timeout)
 flush events from interlogger
int edg_wll_LogFlushAll (edg_wll_Context context, struct timeval *timeout)
 flush all events from interlogger
int edg_wll_SetLoggingJob (edg_wll_Context context, const edg_wlc_JobId job, const char *code, int flags)
int edg_wll_SetLoggingJobProxy (edg_wll_Context context, const edg_wlc_JobId job, const char *code, const char *user, int flags)
int edg_wll_RegisterJob (edg_wll_Context context, const edg_wlc_JobId job, enum edg_wll_RegJobJobtype type, const char *jdl, const char *ns, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs)
int edg_wll_RegisterJobSync (edg_wll_Context context, const edg_wlc_JobId job, enum edg_wll_RegJobJobtype type, const char *jdl, const char *ns, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs)
int edg_wll_RegisterJobProxy (edg_wll_Context context, const edg_wlc_JobId job, enum edg_wll_RegJobJobtype type, const char *jdl, const char *ns, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs)
int edg_wll_RegisterSubjobs (edg_wll_Context context, const edg_wlc_JobId parent, char const *const *jdls, const char *ns, edg_wlc_JobId const *subjobs)
int edg_wll_RegisterSubjobsProxy (edg_wll_Context context, const edg_wlc_JobId parent, char const *const *jdls, const char *ns, edg_wlc_JobId const *subjobs)
int edg_wll_GenerateSubjobIds (edg_wll_Context context, const edg_wlc_JobId parent, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs)
int edg_wll_ChangeACL (edg_wll_Context context, const edg_wlc_JobId job, const char *user_id, enum edg_wll_UserIdType user_id_type, enum edg_wll_Permission permission, enum edg_wll_PermissionType permission_type, enum edg_wll_ACLOperation operation)


Detailed Description

client API for storing data into L&B service


Define Documentation

#define EDG_WLL_FORMAT_ABORT   "DG.ABORT.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_ACCEPTED   "DG.ACCEPTED.FROM=\"%s\" DG.ACCEPTED.FROM_HOST=\"%|Us\" DG.ACCEPTED.FROM_INSTANCE=\"%|Us\" DG.ACCEPTED.LOCAL_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CANCEL   "DG.CANCEL.STATUS_CODE=\"%s\" DG.CANCEL.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CHANGEACL   "DG.CHANGEACL.USER_ID=\"%|Us\" DG.CHANGEACL.USER_ID_TYPE=\"%d\" DG.CHANGEACL.PERMISSION=\"%d\" DG.CHANGEACL.PERMISSION_TYPE=\"%d\" DG.CHANGEACL.OPERATION=\"%d\" "
 

#define EDG_WLL_FORMAT_CHKPT   "DG.CHKPT.TAG=\"%|Us\" DG.CHKPT.CLASSAD=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CLEAR   "DG.CLEAR.REASON=\"%s\" "
 

#define EDG_WLL_FORMAT_COLLECTIONSTATE   "DG.COLLECTIONSTATE.STATE=\"%|Us\" DG.COLLECTIONSTATE.DONE_CODE=\"%d\" DG.COLLECTIONSTATE.HISTOGRAM=\"%|Us\" DG.COLLECTIONSTATE.CHILD=\"%s\" DG.COLLECTIONSTATE.CHILD_EVENT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.PRIORITY=%d DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.EVNT=\"%s\" DG.JOBID=\"%s\" DG.SEQCODE=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORERROR   "DG.CONDORERROR.ERROR_DESC=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORMATCH   "DG.CONDORMATCH.OWNER=\"%|Us\" DG.CONDORMATCH.DEST_HOST=\"%|Us\" DG.CONDORMATCH.PREEMPTING=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORREJECT   "DG.CONDORREJECT.OWNER=\"%|Us\" DG.CONDORREJECT.STATUS_CODE=\"%s\" "
 

#define EDG_WLL_FORMAT_CONDORRESOURCEUSAGE   "DG.CONDORRESOURCEUSAGE.USAGE=\"%s\" DG.CONDORRESOURCEUSAGE.NAME=\"%|Us\" DG.CONDORRESOURCEUSAGE.QUANTITY=\"%f\" DG.CONDORRESOURCEUSAGE.UNIT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORSHADOWEXITED   "DG.CONDORSHADOWEXITED.SHADOW_PID=\"%d\" DG.CONDORSHADOWEXITED.SHADOW_EXIT_STATUS=\"%d\" "
 

#define EDG_WLL_FORMAT_CONDORSHADOWSTARTED   "DG.CONDORSHADOWSTARTED.SHADOW_HOST=\"%|Us\" DG.CONDORSHADOWSTARTED.SHADOW_PORT=\"%d\" DG.CONDORSHADOWSTARTED.SHADOW_PID=\"%d\" DG.CONDORSHADOWSTARTED.SHADOW_STATUS=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORSTARTEREXITED   "DG.CONDORSTARTEREXITED.STARTER_PID=\"%d\" DG.CONDORSTARTEREXITED.STARTER_EXIT_STATUS=\"%d\" DG.CONDORSTARTEREXITED.JOB_PID=\"%d\" DG.CONDORSTARTEREXITED.JOB_EXIT_STATUS=\"%d\" "
 

#define EDG_WLL_FORMAT_CONDORSTARTERSTARTED   "DG.CONDORSTARTERSTARTED.STARTER_PID=\"%d\" DG.CONDORSTARTERSTARTED.UNIVERSE=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CURDESCR   "DG.CURDESCR.DESCR=\"%|Us\" "
 

#define EDG_WLL_FORMAT_DEQUEUED   "DG.DEQUEUED.QUEUE=\"%|Us\" DG.DEQUEUED.LOCAL_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_DONE   "DG.DONE.STATUS_CODE=\"%s\" DG.DONE.REASON=\"%|Us\" DG.DONE.EXIT_CODE=\"%d\" "
 

#define EDG_WLL_FORMAT_ENQUEUED   "DG.ENQUEUED.QUEUE=\"%|Us\" DG.ENQUEUED.JOB=\"%|Us\" DG.ENQUEUED.RESULT=\"%s\" DG.ENQUEUED.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_HELPERCALL   "DG.HELPERCALL.HELPER_NAME=\"%|Us\" DG.HELPERCALL.HELPER_PARAMS=\"%|Us\" DG.HELPERCALL.SRC_ROLE=\"%s\" "
 

#define EDG_WLL_FORMAT_HELPERRETURN   "DG.HELPERRETURN.HELPER_NAME=\"%|Us\" DG.HELPERRETURN.RETVAL=\"%|Us\" DG.HELPERRETURN.SRC_ROLE=\"%s\" "
 

#define EDG_WLL_FORMAT_LISTENER   "DG.LISTENER.SVC_NAME=\"%|Us\" DG.LISTENER.SVC_HOST=\"%|Us\" DG.LISTENER.SVC_PORT=\"%d\" "
 

#define EDG_WLL_FORMAT_MATCH   "DG.MATCH.DEST_ID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_NOTIFICATION   "DG.NOTIFICATION.NOTIFID=\"%s\" DG.NOTIFICATION.OWNER=\"%|Us\" DG.NOTIFICATION.DEST_HOST=\"%|Us\" DG.NOTIFICATION.DEST_PORT=\"%d\" DG.NOTIFICATION.EXPIRES=\"%d\" DG.NOTIFICATION.JOBSTAT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_NOTIFICATION_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.TYPE=\"notification\" "
 

#define EDG_WLL_FORMAT_PBSDEQUEUED   ""
 

#define EDG_WLL_FORMAT_PBSDONE   "DG.PBSDONE.EXIT_STATUS=\"%d\" "
 

#define EDG_WLL_FORMAT_PBSERROR   "DG.PBSERROR.ERROR_DESC=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSMATCH   "DG.PBSMATCH.DEST_HOST=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSPENDING   "DG.PBSPENDING.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSQUEUED   "DG.PBSQUEUED.QUEUE=\"%|Us\" DG.PBSQUEUED.OWNER=\"%|Us\" DG.PBSQUEUED.NAME=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSRERUN   ""
 

#define EDG_WLL_FORMAT_PBSRESOURCEUSAGE   "DG.PBSRESOURCEUSAGE.USAGE=\"%s\" DG.PBSRESOURCEUSAGE.NAME=\"%|Us\" DG.PBSRESOURCEUSAGE.QUANTITY=\"%f\" DG.PBSRESOURCEUSAGE.UNIT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSRUN   "DG.PBSRUN.SCHEDULER=\"%|Us\" DG.PBSRUN.DEST_HOST=\"%|Us\" DG.PBSRUN.PID=\"%d\" "
 

#define EDG_WLL_FORMAT_PENDING   "DG.PENDING.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PURGE   ""
 

#define EDG_WLL_FORMAT_REALLYRUNNING   "DG.REALLYRUNNING.WN_SEQ=\"%|Us\" "
 

#define EDG_WLL_FORMAT_REFUSED   "DG.REFUSED.FROM=\"%s\" DG.REFUSED.FROM_HOST=\"%|Us\" DG.REFUSED.FROM_INSTANCE=\"%|Us\" DG.REFUSED.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_REGJOB   "DG.REGJOB.JDL=\"%|Us\" DG.REGJOB.NS=\"%|Us\" DG.REGJOB.PARENT=\"%s\" DG.REGJOB.JOBTYPE=\"%s\" DG.REGJOB.NSUBJOBS=\"%d\" DG.REGJOB.SEED=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESOURCEUSAGE   "DG.RESOURCEUSAGE.RESOURCE=\"%|Us\" DG.RESOURCEUSAGE.QUANTITY=\"%f\" DG.RESOURCEUSAGE.UNIT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESUBMISSION   "DG.RESUBMISSION.RESULT=\"%s\" DG.RESUBMISSION.REASON=\"%|Us\" DG.RESUBMISSION.TAG=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESUME   "DG.RESUME.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RUNNING   "DG.RUNNING.NODE=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SUSPEND   "DG.SUSPEND.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SYSCLSTAT   "DG.SCHED.NODE=\"%|Us\" DG.SCHED.STATUS=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SYSCMPSTAT   "DG.SCHED.STATUS=\"%|Us\" "
 

#define EDG_WLL_FORMAT_TRANSFER   "DG.TRANSFER.DESTINATION=\"%s\" DG.TRANSFER.DEST_HOST=\"%|Us\" DG.TRANSFER.DEST_INSTANCE=\"%|Us\" DG.TRANSFER.JOB=\"%|Us\" DG.TRANSFER.RESULT=\"%s\" DG.TRANSFER.REASON=\"%|Us\" DG.TRANSFER.DEST_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_USER   "DG.USER=\"%|Us\" "
 

#define EDG_WLL_FORMAT_USERTAG   "DG.USERTAG.NAME=\"%|Us\" DG.USERTAG.VALUE=\"%|Us\" "
 

#define EDG_WLL_JOB_SIMPLE   EDG_WLL_REGJOB_SIMPLE
 

Register job with L&B service. Done via logging REGJOB event, may generate subjob id's and create the parent-children associations. Set the job as current for the context and initialize sequence code.

Partitionable jobs should set num_subjobs=0 initially, and re-register when number of subjobs becomes known.

Parameters:
[in,out] context context to work with
[in] job jobId
[in] type EDG_WLL_JOB_SIMPLE, EDG_WLL_JOB_DAG, or EDG_WLL_JOB_PARTITIONABLE
[in] jdl user-specified JDL
[in] ns network server contact
[in] num_subjobs number of subjobs to create
[in] seed seed used for subjob id's generator. Use non-NULL value to be able to regenerate the set of jobid's
[out] subjobs returned subjob id's


Enumeration Type Documentation

enum edg_wll_ACLOperation
 

Enumeration values:
EDG_WLL_ACL_ADD 
EDG_WLL_ACL_REMOVE 

enum edg_wll_Permission
 

Enumeration values:
EDG_WLL_PERM_READ 
EDG_WLL_PERM_WRITE 
EDG_WLL_PERM_ADMIN 

enum edg_wll_PermissionType
 

Enumeration values:
EDG_WLL_PERM_ALLOW 
EDG_WLL_PERM_DENY 

enum edg_wll_UserIdType
 

Enumeration values:
EDG_WLL_USER_SUBJECT 
EDG_WLL_USER_VOMS_GROUP 


Function Documentation

int edg_wll_ChangeACL edg_wll_Context  context,
const edg_wlc_JobId  job,
const char *  user_id,
enum edg_wll_UserIdType  user_id_type,
enum edg_wll_Permission  permission,
enum edg_wll_PermissionType  permission_type,
enum edg_wll_ACLOperation  operation
 

Change ACL for given job.

Parameters:
[in,out] context context to work with
[in] job jobId
[in] user_id specification of user's credential
[in] user_id_type type of user_id, for EDG_WLL_USER_SUBJECT the user_id parameter is expected to be user's subject name for EDG_WLL_USER_VOMS_GROUP the user_id is expected to be of the form VO:group specifying required group membersip as managed by VOMS
[in] permission ACL permission to change
[in] permission_type type of given permission (allow or deny operation)
[in] operation operation to perform with ACL (add or remove record)

int edg_wll_GenerateSubjobIds edg_wll_Context  context,
const edg_wlc_JobId  parent,
int  num_subjobs,
const char *  seed,
edg_wlc_JobId **  subjobs
 

Generate or regenerate set of subjob ID's. Calls the same algorithm used to generate subjob ID's in edg_wll_RegisterJob(). Local semantics only, server is not contacted.

int edg_wll_LogAbort edg_wll_Context  context,
const char *  reason
 

edg_wll_LogAbort

edg_wll_LogAbort - simple wrapper around edg_wll_LogEvent for event Abort

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job was aborted by the system.
See also:
edg_wll_LogEvent()

int edg_wll_LogAbortProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogAbortProxy

edg_wll_LogAbortProxy - simple wrapper around edg_wll_LogEventProxy for event Abort

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job was aborted by the system.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogAccepted edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  local_jobid
 

edg_wll_LogAccepted

edg_wll_LogAccepted - simple wrapper around edg_wll_LogEvent for event Accepted

Parameters:
[in,out] context context to work with,
[in] from The software component the job was received from.
[in] from_host Hostname of the component the job was received from.
[in] from_instance Instance of the component the job was received from.
[in] local_jobid New job id as assigned by the receiving component.
See also:
edg_wll_LogEvent()

int edg_wll_LogAcceptedProxy edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  local_jobid
 

edg_wll_LogAcceptedProxy

edg_wll_LogAcceptedProxy - simple wrapper around edg_wll_LogEventProxy for event Accepted

Parameters:
[in,out] context context to work with,
[in] from The software component the job was received from.
[in] from_host Hostname of the component the job was received from.
[in] from_instance Instance of the component the job was received from.
[in] local_jobid New job id as assigned by the receiving component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCancel edg_wll_Context  context,
const char *  status_code,
const char *  reason
 

edg_wll_LogCancel

edg_wll_LogCancel - simple wrapper around edg_wll_LogEvent for event Cancel

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelABORT edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelABORT

edg_wll_LogCancelABORT - simple wrapper around edg_wll_LogEvent for event Cancel, status_code ABORT

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelABORTProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelABORTProxy

edg_wll_LogCancelABORTProxy - simple wrapper around edg_wll_LogEventProxy for event Cancel, status_code ABORT

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCancelDONE edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelDONE

edg_wll_LogCancelDONE - simple wrapper around edg_wll_LogEvent for event Cancel, status_code DONE

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelDONEProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelDONEProxy

edg_wll_LogCancelDONEProxy - simple wrapper around edg_wll_LogEventProxy for event Cancel, status_code DONE

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCancelProxy edg_wll_Context  context,
const char *  status_code,
const char *  reason
 

edg_wll_LogCancelProxy

edg_wll_LogCancelProxy - simple wrapper around edg_wll_LogEventProxy for event Cancel

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCancelREFUSE edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelREFUSE

edg_wll_LogCancelREFUSE - simple wrapper around edg_wll_LogEvent for event Cancel, status_code REFUSE

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelREFUSEProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelREFUSEProxy

edg_wll_LogCancelREFUSEProxy - simple wrapper around edg_wll_LogEventProxy for event Cancel, status_code REFUSE

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCancelREQ edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelREQ

edg_wll_LogCancelREQ - simple wrapper around edg_wll_LogEvent for event Cancel, status_code REQ

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelREQProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogCancelREQProxy

edg_wll_LogCancelREQProxy - simple wrapper around edg_wll_LogEventProxy for event Cancel, status_code REQ

Parameters:
[in,out] context context to work with,
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogChangeACL edg_wll_Context  context,
const char *  user_id,
const int  user_id_type,
const int  permission,
const int  permission_type,
const int  operation
 

edg_wll_LogChangeACL

edg_wll_LogChangeACL - simple wrapper around edg_wll_LogEvent for event ChangeACL

Parameters:
[in,out] context context to work with,
[in] user_id DN or VOMS parameter (in format VO:group).
[in] user_id_type Type of information given in user_id (DN or VOMS).
[in] permission ACL permission to change (currently only READ).
[in] permission_type Type of permission requested ('allow', 'deny').
[in] operation Operation requested to perform with ACL (add, remove).
See also:
edg_wll_LogEvent()

int edg_wll_LogChangeACLProxy edg_wll_Context  context,
const char *  user_id,
const int  user_id_type,
const int  permission,
const int  permission_type,
const int  operation
 

edg_wll_LogChangeACLProxy

edg_wll_LogChangeACLProxy - simple wrapper around edg_wll_LogEventProxy for event ChangeACL

Parameters:
[in,out] context context to work with,
[in] user_id DN or VOMS parameter (in format VO:group).
[in] user_id_type Type of information given in user_id (DN or VOMS).
[in] permission ACL permission to change (currently only READ).
[in] permission_type Type of permission requested ('allow', 'deny').
[in] operation Operation requested to perform with ACL (add, remove).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogChkpt edg_wll_Context  context,
const char *  tag,
const char *  classad
 

edg_wll_LogChkpt

edg_wll_LogChkpt - simple wrapper around edg_wll_LogEvent for event Chkpt

Parameters:
[in,out] context context to work with,
[in] tag Application specific checkpoint tag.
[in] classad Application specific checkpoint value.
See also:
edg_wll_LogEvent()

int edg_wll_LogChkptProxy edg_wll_Context  context,
const char *  tag,
const char *  classad
 

edg_wll_LogChkptProxy

edg_wll_LogChkptProxy - simple wrapper around edg_wll_LogEventProxy for event Chkpt

Parameters:
[in,out] context context to work with,
[in] tag Application specific checkpoint tag.
[in] classad Application specific checkpoint value.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogClear edg_wll_Context  context,
const char *  reason
 

edg_wll_LogClear

edg_wll_LogClear - simple wrapper around edg_wll_LogEvent for event Clear

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEvent()

int edg_wll_LogClearNOOUTPUT edg_wll_Context  context  ) 
 

edg_wll_LogClearNOOUTPUT

edg_wll_LogClearNOOUTPUT - simple wrapper around edg_wll_LogEvent for event Clear, reason NOOUTPUT

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogClearNOOUTPUTProxy edg_wll_Context  context  ) 
 

edg_wll_LogClearNOOUTPUTProxy

edg_wll_LogClearNOOUTPUTProxy - simple wrapper around edg_wll_LogEventProxy for event Clear, reason NOOUTPUT

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogClearProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogClearProxy

edg_wll_LogClearProxy - simple wrapper around edg_wll_LogEventProxy for event Clear

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogClearTIMEOUT edg_wll_Context  context  ) 
 

edg_wll_LogClearTIMEOUT

edg_wll_LogClearTIMEOUT - simple wrapper around edg_wll_LogEvent for event Clear, reason TIMEOUT

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogClearTIMEOUTProxy edg_wll_Context  context  ) 
 

edg_wll_LogClearTIMEOUTProxy

edg_wll_LogClearTIMEOUTProxy - simple wrapper around edg_wll_LogEventProxy for event Clear, reason TIMEOUT

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogClearUSER edg_wll_Context  context  ) 
 

edg_wll_LogClearUSER

edg_wll_LogClearUSER - simple wrapper around edg_wll_LogEvent for event Clear, reason USER

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogClearUSERProxy edg_wll_Context  context  ) 
 

edg_wll_LogClearUSERProxy

edg_wll_LogClearUSERProxy - simple wrapper around edg_wll_LogEventProxy for event Clear, reason USER

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCollectionState edg_wll_Context  context,
const char *  state,
const int  done_code,
const char *  histogram,
const edg_wlc_JobId  child,
const char *  child_event
 

edg_wll_LogCollectionState

edg_wll_LogCollectionState - simple wrapper around edg_wll_LogEvent for event CollectionState

Parameters:
[in,out] context context to work with,
[in] state New collection state.
[in] done_code In case of (state == Done) contains done code
[in] histogram User readable histogram; useful for debugging.
[in] child JobId of subjob, which triggered the state change.
[in] child_event Event which triggered the state change.
See also:
edg_wll_LogEvent()

int edg_wll_LogCollectionStateProxy edg_wll_Context  context,
const char *  state,
const int  done_code,
const char *  histogram,
const edg_wlc_JobId  child,
const char *  child_event
 

edg_wll_LogCollectionStateProxy

edg_wll_LogCollectionStateProxy - simple wrapper around edg_wll_LogEventProxy for event CollectionState

Parameters:
[in,out] context context to work with,
[in] state New collection state.
[in] done_code In case of (state == Done) contains done code
[in] histogram User readable histogram; useful for debugging.
[in] child JobId of subjob, which triggered the state change.
[in] child_event Event which triggered the state change.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorError edg_wll_Context  context,
const char *  error_desc
 

edg_wll_LogCondorError

edg_wll_LogCondorError - simple wrapper around edg_wll_LogEvent for event CondorError

Parameters:
[in,out] context context to work with,
[in] error_desc Error reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorErrorProxy edg_wll_Context  context,
const char *  error_desc
 

edg_wll_LogCondorErrorProxy

edg_wll_LogCondorErrorProxy - simple wrapper around edg_wll_LogEventProxy for event CondorError

Parameters:
[in,out] context context to work with,
[in] error_desc Error reason
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorMatch edg_wll_Context  context,
const char *  owner,
const char *  dest_host,
const char *  preempting
 

edg_wll_LogCondorMatch

edg_wll_LogCondorMatch - simple wrapper around edg_wll_LogEvent for event CondorMatch

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] dest_host Matched host
[in] preempting Preempting
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorMatchProxy edg_wll_Context  context,
const char *  owner,
const char *  dest_host,
const char *  preempting
 

edg_wll_LogCondorMatchProxy

edg_wll_LogCondorMatchProxy - simple wrapper around edg_wll_LogEventProxy for event CondorMatch

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] dest_host Matched host
[in] preempting Preempting
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorReject edg_wll_Context  context,
const char *  owner,
const char *  status_code
 

edg_wll_LogCondorReject

edg_wll_LogCondorReject - simple wrapper around edg_wll_LogEvent for event CondorReject

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] status_code Reason code for the rejection of the job
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectNOMATCH edg_wll_Context  context,
const char *  owner
 

edg_wll_LogCondorRejectNOMATCH

edg_wll_LogCondorRejectNOMATCH - simple wrapper around edg_wll_LogEvent for event CondorReject, status_code NOMATCH

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectNOMATCHProxy edg_wll_Context  context,
const char *  owner
 

edg_wll_LogCondorRejectNOMATCHProxy

edg_wll_LogCondorRejectNOMATCHProxy - simple wrapper around edg_wll_LogEventProxy for event CondorReject, status_code NOMATCH

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorRejectOTHER edg_wll_Context  context,
const char *  owner
 

edg_wll_LogCondorRejectOTHER

edg_wll_LogCondorRejectOTHER - simple wrapper around edg_wll_LogEvent for event CondorReject, status_code OTHER

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectOTHERProxy edg_wll_Context  context,
const char *  owner
 

edg_wll_LogCondorRejectOTHERProxy

edg_wll_LogCondorRejectOTHERProxy - simple wrapper around edg_wll_LogEventProxy for event CondorReject, status_code OTHER

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorRejectProxy edg_wll_Context  context,
const char *  owner,
const char *  status_code
 

edg_wll_LogCondorRejectProxy

edg_wll_LogCondorRejectProxy - simple wrapper around edg_wll_LogEventProxy for event CondorReject

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] status_code Reason code for the rejection of the job
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorResourceUsage edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsage

edg_wll_LogCondorResourceUsage - simple wrapper around edg_wll_LogEvent for event CondorResourceUsage

Parameters:
[in,out] context context to work with,
[in] usage Type of record
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorResourceUsageProxy edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsageProxy

edg_wll_LogCondorResourceUsageProxy - simple wrapper around edg_wll_LogEventProxy for event CondorResourceUsage

Parameters:
[in,out] context context to work with,
[in] usage Type of record
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorResourceUsageREQUESTED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsageREQUESTED

edg_wll_LogCondorResourceUsageREQUESTED - simple wrapper around edg_wll_LogEvent for event CondorResourceUsage, usage REQUESTED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorResourceUsageREQUESTEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsageREQUESTEDProxy

edg_wll_LogCondorResourceUsageREQUESTEDProxy - simple wrapper around edg_wll_LogEventProxy for event CondorResourceUsage, usage REQUESTED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorResourceUsageUSED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsageUSED

edg_wll_LogCondorResourceUsageUSED - simple wrapper around edg_wll_LogEvent for event CondorResourceUsage, usage USED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorResourceUsageUSEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogCondorResourceUsageUSEDProxy

edg_wll_LogCondorResourceUsageUSEDProxy - simple wrapper around edg_wll_LogEventProxy for event CondorResourceUsage, usage USED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorShadowExited edg_wll_Context  context,
const int  shadow_pid,
const int  shadow_exit_status
 

edg_wll_LogCondorShadowExited

edg_wll_LogCondorShadowExited - simple wrapper around edg_wll_LogEvent for event CondorShadowExited

Parameters:
[in,out] context context to work with,
[in] shadow_pid PID of shadow process
[in] shadow_exit_status Exit status of shadow process
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorShadowExitedProxy edg_wll_Context  context,
const int  shadow_pid,
const int  shadow_exit_status
 

edg_wll_LogCondorShadowExitedProxy

edg_wll_LogCondorShadowExitedProxy - simple wrapper around edg_wll_LogEventProxy for event CondorShadowExited

Parameters:
[in,out] context context to work with,
[in] shadow_pid PID of shadow process
[in] shadow_exit_status Exit status of shadow process
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorShadowStarted edg_wll_Context  context,
const char *  shadow_host,
const uint16_t  shadow_port,
const int  shadow_pid,
const char *  shadow_status
 

edg_wll_LogCondorShadowStarted

edg_wll_LogCondorShadowStarted - simple wrapper around edg_wll_LogEvent for event CondorShadowStarted

Parameters:
[in,out] context context to work with,
[in] shadow_host Shadow host
[in] shadow_port Shadow port
[in] shadow_pid PID of shadow process
[in] shadow_status Shadow status
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorShadowStartedProxy edg_wll_Context  context,
const char *  shadow_host,
const uint16_t  shadow_port,
const int  shadow_pid,
const char *  shadow_status
 

edg_wll_LogCondorShadowStartedProxy

edg_wll_LogCondorShadowStartedProxy - simple wrapper around edg_wll_LogEventProxy for event CondorShadowStarted

Parameters:
[in,out] context context to work with,
[in] shadow_host Shadow host
[in] shadow_port Shadow port
[in] shadow_pid PID of shadow process
[in] shadow_status Shadow status
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorStarterExited edg_wll_Context  context,
const int  starter_pid,
const int  starter_exit_status,
const int  job_pid,
const int  job_exit_status
 

edg_wll_LogCondorStarterExited

edg_wll_LogCondorStarterExited - simple wrapper around edg_wll_LogEvent for event CondorStarterExited

Parameters:
[in,out] context context to work with,
[in] starter_pid PID of starter process
[in] starter_exit_status Exit status of starter process
[in] job_pid PID of running job
[in] job_exit_status Job exit status
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorStarterExitedProxy edg_wll_Context  context,
const int  starter_pid,
const int  starter_exit_status,
const int  job_pid,
const int  job_exit_status
 

edg_wll_LogCondorStarterExitedProxy

edg_wll_LogCondorStarterExitedProxy - simple wrapper around edg_wll_LogEventProxy for event CondorStarterExited

Parameters:
[in,out] context context to work with,
[in] starter_pid PID of starter process
[in] starter_exit_status Exit status of starter process
[in] job_pid PID of running job
[in] job_exit_status Job exit status
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCondorStarterStarted edg_wll_Context  context,
const int  starter_pid,
const char *  universe
 

edg_wll_LogCondorStarterStarted

edg_wll_LogCondorStarterStarted - simple wrapper around edg_wll_LogEvent for event CondorStarterStarted

Parameters:
[in,out] context context to work with,
[in] starter_pid PID of starter process
[in] universe Condor Universe
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorStarterStartedProxy edg_wll_Context  context,
const int  starter_pid,
const char *  universe
 

edg_wll_LogCondorStarterStartedProxy

edg_wll_LogCondorStarterStartedProxy - simple wrapper around edg_wll_LogEventProxy for event CondorStarterStarted

Parameters:
[in,out] context context to work with,
[in] starter_pid PID of starter process
[in] universe Condor Universe
See also:
edg_wll_LogEventProxy()

int edg_wll_LogCurDescr edg_wll_Context  context,
const char *  descr
 

edg_wll_LogCurDescr

edg_wll_LogCurDescr - simple wrapper around edg_wll_LogEvent for event CurDescr

Parameters:
[in,out] context context to work with,
[in] descr Description of the current job transformation (output of the helper).
See also:
edg_wll_LogEvent()

int edg_wll_LogCurDescrProxy edg_wll_Context  context,
const char *  descr
 

edg_wll_LogCurDescrProxy

edg_wll_LogCurDescrProxy - simple wrapper around edg_wll_LogEventProxy for event CurDescr

Parameters:
[in,out] context context to work with,
[in] descr Description of the current job transformation (output of the helper).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogDeQueued edg_wll_Context  context,
const char *  queue,
const char *  local_jobid
 

edg_wll_LogDeQueued

edg_wll_LogDeQueued - simple wrapper around edg_wll_LogEvent for event DeQueued

Parameters:
[in,out] context context to work with,
[in] queue Name of the queue the job was obtained from.
[in] local_jobid New job id as assigned by the retreiving component.
See also:
edg_wll_LogEvent()

int edg_wll_LogDeQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  local_jobid
 

edg_wll_LogDeQueuedProxy

edg_wll_LogDeQueuedProxy - simple wrapper around edg_wll_LogEventProxy for event DeQueued

Parameters:
[in,out] context context to work with,
[in] queue Name of the queue the job was obtained from.
[in] local_jobid New job id as assigned by the retreiving component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogDone edg_wll_Context  context,
const char *  status_code,
const char *  reason,
const int  exit_code
 

edg_wll_LogDone

edg_wll_LogDone - simple wrapper around edg_wll_LogEvent for event Done

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneCANCELLED edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneCANCELLED

edg_wll_LogDoneCANCELLED - simple wrapper around edg_wll_LogEvent for event Done, status_code CANCELLED

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneCANCELLEDProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneCANCELLEDProxy

edg_wll_LogDoneCANCELLEDProxy - simple wrapper around edg_wll_LogEventProxy for event Done, status_code CANCELLED

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogDoneFAILED edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneFAILED

edg_wll_LogDoneFAILED - simple wrapper around edg_wll_LogEvent for event Done, status_code FAILED

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneFAILEDProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneFAILEDProxy

edg_wll_LogDoneFAILEDProxy - simple wrapper around edg_wll_LogEventProxy for event Done, status_code FAILED

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogDoneOK edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneOK

edg_wll_LogDoneOK - simple wrapper around edg_wll_LogEvent for event Done, status_code OK

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneOKProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneOKProxy

edg_wll_LogDoneOKProxy - simple wrapper around edg_wll_LogEventProxy for event Done, status_code OK

Parameters:
[in,out] context context to work with,
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogDoneProxy edg_wll_Context  context,
const char *  status_code,
const char *  reason,
const int  exit_code
 

edg_wll_LogDoneProxy

edg_wll_LogDoneProxy - simple wrapper around edg_wll_LogEventProxy for event Done

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEnQueued edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  result,
const char *  reason
 

edg_wll_LogEnQueued

edg_wll_LogEnQueued - simple wrapper around edg_wll_LogEvent for event EnQueued

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedFAIL edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedFAIL

edg_wll_LogEnQueuedFAIL - simple wrapper around edg_wll_LogEvent for event EnQueued, result FAIL

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedFAILProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedFAILProxy

edg_wll_LogEnQueuedFAILProxy - simple wrapper around edg_wll_LogEventProxy for event EnQueued, result FAIL

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEnQueuedOK edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedOK

edg_wll_LogEnQueuedOK - simple wrapper around edg_wll_LogEvent for event EnQueued, result OK

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedOKProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedOKProxy

edg_wll_LogEnQueuedOKProxy - simple wrapper around edg_wll_LogEventProxy for event EnQueued, result OK

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEnQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  result,
const char *  reason
 

edg_wll_LogEnQueuedProxy

edg_wll_LogEnQueuedProxy - simple wrapper around edg_wll_LogEventProxy for event EnQueued

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEnQueuedREFUSED edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedREFUSED

edg_wll_LogEnQueuedREFUSED - simple wrapper around edg_wll_LogEvent for event EnQueued, result REFUSED

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedREFUSEDProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedREFUSEDProxy

edg_wll_LogEnQueuedREFUSEDProxy - simple wrapper around edg_wll_LogEventProxy for event EnQueued, result REFUSED

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEnQueuedSTART edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedSTART

edg_wll_LogEnQueuedSTART - simple wrapper around edg_wll_LogEvent for event EnQueued, result START

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedSTARTProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

edg_wll_LogEnQueuedSTARTProxy

edg_wll_LogEnQueuedSTARTProxy - simple wrapper around edg_wll_LogEventProxy for event EnQueued, result START

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogEvent edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic asynchronous logging function

Formats a logging message and sends it asynchronously to local-logger

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified local logger,
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context.

int edg_wll_LogEventProxy edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic synchronous logging function

Formats a logging message and sends it synchronously to L&B Proxy

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified L&B Proxy
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context.

int edg_wll_LogEventSync edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic synchronous logging function

Formats a logging message and sends it synchronously to local-logger

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified local logger,
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context,
EPERM the user is not authorized to add events to this job,
EDG_WLL_ERROR_DB_DUP_KEY exactly the same event has been already stored.

int edg_wll_LogFlush edg_wll_Context  context,
struct timeval *  timeout
 

flush events from interlogger

Instructs interlogger to to deliver all pending events related to current job

Note:
sort of status query more than a command
Parameters:
[in,out] context context to work with,
[in,out] timeout wait at most this much time for completition, remaining time on return,
Return values:
0 successful completition,
EDG_WLL_ERROR_INTERLOG_TIMEOUT the inter-logger did not respond within the timeout,
EDG_WLL_ERROR_INTERLOG_CONLOST inter-logger lost connection to one or more servers,
EDG_WLL_ERROR_INTERLOG_AGAIN not all pending events were delivered within the timeout.

int edg_wll_LogFlushAll edg_wll_Context  context,
struct timeval *  timeout
 

flush all events from interlogger

Instructs interlogger to to deliver all pending events

Note:
same as edg_wll_LogFlush() for all jobs known to interlogger
See also:
edg_wll_LogFlush()

int edg_wll_LogHelperCall edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params,
const char *  src_role
 

edg_wll_LogHelperCall

edg_wll_LogHelperCall - simple wrapper around edg_wll_LogEvent for event HelperCall

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperCallCALLED edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

edg_wll_LogHelperCallCALLED

edg_wll_LogHelperCallCALLED - simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLED

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperCallCALLEDProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

edg_wll_LogHelperCallCALLEDProxy

edg_wll_LogHelperCallCALLEDProxy - simple wrapper around edg_wll_LogEventProxy for event HelperCall, src_role CALLED

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogHelperCallCALLING edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

edg_wll_LogHelperCallCALLING

edg_wll_LogHelperCallCALLING - simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLING

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperCallCALLINGProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

edg_wll_LogHelperCallCALLINGProxy

edg_wll_LogHelperCallCALLINGProxy - simple wrapper around edg_wll_LogEventProxy for event HelperCall, src_role CALLING

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogHelperCallProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params,
const char *  src_role
 

edg_wll_LogHelperCallProxy

edg_wll_LogHelperCallProxy - simple wrapper around edg_wll_LogEventProxy for event HelperCall

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogHelperReturn edg_wll_Context  context,
const char *  helper_name,
const char *  retval,
const char *  src_role
 

edg_wll_LogHelperReturn

edg_wll_LogHelperReturn - simple wrapper around edg_wll_LogEvent for event HelperReturn

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperReturnCALLED edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

edg_wll_LogHelperReturnCALLED

edg_wll_LogHelperReturnCALLED - simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLED

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperReturnCALLEDProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

edg_wll_LogHelperReturnCALLEDProxy

edg_wll_LogHelperReturnCALLEDProxy - simple wrapper around edg_wll_LogEventProxy for event HelperReturn, src_role CALLED

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogHelperReturnCALLING edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

edg_wll_LogHelperReturnCALLING

edg_wll_LogHelperReturnCALLING - simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLING

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperReturnCALLINGProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

edg_wll_LogHelperReturnCALLINGProxy

edg_wll_LogHelperReturnCALLINGProxy - simple wrapper around edg_wll_LogEventProxy for event HelperReturn, src_role CALLING

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogHelperReturnProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval,
const char *  src_role
 

edg_wll_LogHelperReturnProxy

edg_wll_LogHelperReturnProxy - simple wrapper around edg_wll_LogEventProxy for event HelperReturn

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogListener edg_wll_Context  context,
const char *  svc_name,
const char *  svc_host,
const uint16_t  svc_port
 

edg_wll_LogListener

edg_wll_LogListener - simple wrapper around edg_wll_LogEvent for event Listener

Parameters:
[in,out] context context to work with,
[in] svc_name Name of the port instance for interactive job control.
[in] svc_host Hostname of the interactive job controller.
[in] svc_port Port number of the interactive job controller.
See also:
edg_wll_LogEvent()

int edg_wll_LogListenerProxy edg_wll_Context  context,
const char *  svc_name,
const char *  svc_host,
const uint16_t  svc_port
 

edg_wll_LogListenerProxy

edg_wll_LogListenerProxy - simple wrapper around edg_wll_LogEventProxy for event Listener

Parameters:
[in,out] context context to work with,
[in] svc_name Name of the port instance for interactive job control.
[in] svc_host Hostname of the interactive job controller.
[in] svc_port Port number of the interactive job controller.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogMatch edg_wll_Context  context,
const char *  dest_id
 

edg_wll_LogMatch

edg_wll_LogMatch - simple wrapper around edg_wll_LogEvent for event Match

Parameters:
[in,out] context context to work with,
[in] dest_id Identification of the queue on the CE that the job could be send to.
See also:
edg_wll_LogEvent()

int edg_wll_LogMatchProxy edg_wll_Context  context,
const char *  dest_id
 

edg_wll_LogMatchProxy

edg_wll_LogMatchProxy - simple wrapper around edg_wll_LogEventProxy for event Match

Parameters:
[in,out] context context to work with,
[in] dest_id Identification of the queue on the CE that the job could be send to.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogNotification edg_wll_Context  context,
const edg_wll_NotifId  notifId,
const char *  owner,
const char *  dest_host,
const uint16_t  dest_port,
const int  expires,
const char *  jobstat
 

edg_wll_LogNotification

edg_wll_LogNotification - simple wrapper around edg_wll_LogEvent for event Notification

Parameters:
[in,out] context context to work with,
[in] notifId Notification id.
[in] owner Identification of the job owner (certificate subject).
[in] dest_host Hostname the notification is sent to.
[in] dest_port Port number the notification is sent to.
[in] expires When the notification expires
[in] jobstat Status of the job (the notification content).
See also:
edg_wll_LogEvent()

int edg_wll_LogNotificationProxy edg_wll_Context  context,
const edg_wll_NotifId  notifId,
const char *  owner,
const char *  dest_host,
const uint16_t  dest_port,
const int  expires,
const char *  jobstat
 

edg_wll_LogNotificationProxy

edg_wll_LogNotificationProxy - simple wrapper around edg_wll_LogEventProxy for event Notification

Parameters:
[in,out] context context to work with,
[in] notifId Notification id.
[in] owner Identification of the job owner (certificate subject).
[in] dest_host Hostname the notification is sent to.
[in] dest_port Port number the notification is sent to.
[in] expires When the notification expires
[in] jobstat Status of the job (the notification content).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSDequeued edg_wll_Context  context  ) 
 

edg_wll_LogPBSDequeued

edg_wll_LogPBSDequeued - simple wrapper around edg_wll_LogEvent for event PBSDequeued

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSDequeuedProxy edg_wll_Context  context  ) 
 

edg_wll_LogPBSDequeuedProxy

edg_wll_LogPBSDequeuedProxy - simple wrapper around edg_wll_LogEventProxy for event PBSDequeued

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSDone edg_wll_Context  context,
const int  exit_status
 

edg_wll_LogPBSDone

edg_wll_LogPBSDone - simple wrapper around edg_wll_LogEvent for event PBSDone

Parameters:
[in,out] context context to work with,
[in] exit_status Exit status
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSDoneProxy edg_wll_Context  context,
const int  exit_status
 

edg_wll_LogPBSDoneProxy

edg_wll_LogPBSDoneProxy - simple wrapper around edg_wll_LogEventProxy for event PBSDone

Parameters:
[in,out] context context to work with,
[in] exit_status Exit status
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSError edg_wll_Context  context,
const char *  error_desc
 

edg_wll_LogPBSError

edg_wll_LogPBSError - simple wrapper around edg_wll_LogEvent for event PBSError

Parameters:
[in,out] context context to work with,
[in] error_desc Error reason
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSErrorProxy edg_wll_Context  context,
const char *  error_desc
 

edg_wll_LogPBSErrorProxy

edg_wll_LogPBSErrorProxy - simple wrapper around edg_wll_LogEventProxy for event PBSError

Parameters:
[in,out] context context to work with,
[in] error_desc Error reason
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSMatch edg_wll_Context  context,
const char *  dest_host
 

edg_wll_LogPBSMatch

edg_wll_LogPBSMatch - simple wrapper around edg_wll_LogEvent for event PBSMatch

Parameters:
[in,out] context context to work with,
[in] dest_host Aka exec_host
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSMatchProxy edg_wll_Context  context,
const char *  dest_host
 

edg_wll_LogPBSMatchProxy

edg_wll_LogPBSMatchProxy - simple wrapper around edg_wll_LogEventProxy for event PBSMatch

Parameters:
[in,out] context context to work with,
[in] dest_host Aka exec_host
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSPending edg_wll_Context  context,
const char *  reason
 

edg_wll_LogPBSPending

edg_wll_LogPBSPending - simple wrapper around edg_wll_LogEvent for event PBSPending

Parameters:
[in,out] context context to work with,
[in] reason Reasons of job pendation or errors
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSPendingProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogPBSPendingProxy

edg_wll_LogPBSPendingProxy - simple wrapper around edg_wll_LogEventProxy for event PBSPending

Parameters:
[in,out] context context to work with,
[in] reason Reasons of job pendation or errors
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSQueued edg_wll_Context  context,
const char *  queue,
const char *  owner,
const char *  name
 

edg_wll_LogPBSQueued

edg_wll_LogPBSQueued - simple wrapper around edg_wll_LogEvent for event PBSQueued

Parameters:
[in,out] context context to work with,
[in] queue Queue name
[in] owner Job owner
[in] name Job name
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  owner,
const char *  name
 

edg_wll_LogPBSQueuedProxy

edg_wll_LogPBSQueuedProxy - simple wrapper around edg_wll_LogEventProxy for event PBSQueued

Parameters:
[in,out] context context to work with,
[in] queue Queue name
[in] owner Job owner
[in] name Job name
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSRerun edg_wll_Context  context  ) 
 

edg_wll_LogPBSRerun

edg_wll_LogPBSRerun - simple wrapper around edg_wll_LogEvent for event PBSRerun

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSRerunProxy edg_wll_Context  context  ) 
 

edg_wll_LogPBSRerunProxy

edg_wll_LogPBSRerunProxy - simple wrapper around edg_wll_LogEventProxy for event PBSRerun

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSResourceUsage edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsage

edg_wll_LogPBSResourceUsage - simple wrapper around edg_wll_LogEvent for event PBSResourceUsage

Parameters:
[in,out] context context to work with,
[in] usage Type of record
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageProxy edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsageProxy

edg_wll_LogPBSResourceUsageProxy - simple wrapper around edg_wll_LogEventProxy for event PBSResourceUsage

Parameters:
[in,out] context context to work with,
[in] usage Type of record
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSResourceUsageREQUESTED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsageREQUESTED

edg_wll_LogPBSResourceUsageREQUESTED - simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage REQUESTED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageREQUESTEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsageREQUESTEDProxy

edg_wll_LogPBSResourceUsageREQUESTEDProxy - simple wrapper around edg_wll_LogEventProxy for event PBSResourceUsage, usage REQUESTED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSResourceUsageUSED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsageUSED

edg_wll_LogPBSResourceUsageUSED - simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage USED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageUSEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

edg_wll_LogPBSResourceUsageUSEDProxy

edg_wll_LogPBSResourceUsageUSEDProxy - simple wrapper around edg_wll_LogEventProxy for event PBSResourceUsage, usage USED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPBSRun edg_wll_Context  context,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

edg_wll_LogPBSRun

edg_wll_LogPBSRun - simple wrapper around edg_wll_LogEvent for event PBSRun

Parameters:
[in,out] context context to work with,
[in] scheduler Scheduler ID
[in] dest_host Where to run the job
[in] pid Actual process ID
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSRunProxy edg_wll_Context  context,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

edg_wll_LogPBSRunProxy

edg_wll_LogPBSRunProxy - simple wrapper around edg_wll_LogEventProxy for event PBSRun

Parameters:
[in,out] context context to work with,
[in] scheduler Scheduler ID
[in] dest_host Where to run the job
[in] pid Actual process ID
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPending edg_wll_Context  context,
const char *  reason
 

edg_wll_LogPending

edg_wll_LogPending - simple wrapper around edg_wll_LogEvent for event Pending

Parameters:
[in,out] context context to work with,
[in] reason Description why the matching CE for the job was not found (yet).
See also:
edg_wll_LogEvent()

int edg_wll_LogPendingProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogPendingProxy

edg_wll_LogPendingProxy - simple wrapper around edg_wll_LogEventProxy for event Pending

Parameters:
[in,out] context context to work with,
[in] reason Description why the matching CE for the job was not found (yet).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogPurge edg_wll_Context  context  ) 
 

edg_wll_LogPurge

edg_wll_LogPurge - simple wrapper around edg_wll_LogEvent for event Purge

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPurgeProxy edg_wll_Context  context  ) 
 

edg_wll_LogPurgeProxy

edg_wll_LogPurgeProxy - simple wrapper around edg_wll_LogEventProxy for event Purge

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEventProxy()

int edg_wll_LogReallyRunning edg_wll_Context  context,
const char *  wn_seq
 

edg_wll_LogReallyRunning

edg_wll_LogReallyRunning - simple wrapper around edg_wll_LogEvent for event ReallyRunning

Parameters:
[in,out] context context to work with,
[in] wn_seq Sequence code on the worker node.
See also:
edg_wll_LogEvent()

int edg_wll_LogReallyRunningProxy edg_wll_Context  context,
const char *  wn_seq
 

edg_wll_LogReallyRunningProxy

edg_wll_LogReallyRunningProxy - simple wrapper around edg_wll_LogEventProxy for event ReallyRunning

Parameters:
[in,out] context context to work with,
[in] wn_seq Sequence code on the worker node.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRefused edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  reason
 

edg_wll_LogRefused

edg_wll_LogRefused - simple wrapper around edg_wll_LogEvent for event Refused

Parameters:
[in,out] context context to work with,
[in] from The software component that tried to send the job.
[in] from_host Hostname of the component that tried to send the job.
[in] from_instance Instance of the component that tried to send the job.
[in] reason Description of the reason why the job was refused.
See also:
edg_wll_LogEvent()

int edg_wll_LogRefusedProxy edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  reason
 

edg_wll_LogRefusedProxy

edg_wll_LogRefusedProxy - simple wrapper around edg_wll_LogEventProxy for event Refused

Parameters:
[in,out] context context to work with,
[in] from The software component that tried to send the job.
[in] from_host Hostname of the component that tried to send the job.
[in] from_instance Instance of the component that tried to send the job.
[in] reason Description of the reason why the job was refused.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJob edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const char *  jobtype,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJob

edg_wll_LogRegJob - simple wrapper around edg_wll_LogEvent for event RegJob

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCOLLECTION edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobCOLLECTION

edg_wll_LogRegJobCOLLECTION - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype COLLECTION

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCOLLECTIONProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobCOLLECTIONProxy

edg_wll_LogRegJobCOLLECTIONProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype COLLECTION

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobCONDOR edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobCONDOR

edg_wll_LogRegJobCONDOR - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype CONDOR

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCONDORProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobCONDORProxy

edg_wll_LogRegJobCONDORProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype CONDOR

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobDAG edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobDAG

edg_wll_LogRegJobDAG - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype DAG

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobDAGProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobDAGProxy

edg_wll_LogRegJobDAGProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype DAG

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobPARTITIONABLE edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPARTITIONABLE

edg_wll_LogRegJobPARTITIONABLE - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONABLE

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPARTITIONABLEProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPARTITIONABLEProxy

edg_wll_LogRegJobPARTITIONABLEProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype PARTITIONABLE

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobPARTITIONED edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPARTITIONED

edg_wll_LogRegJobPARTITIONED - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONED

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPARTITIONEDProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPARTITIONEDProxy

edg_wll_LogRegJobPARTITIONEDProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype PARTITIONED

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobPBS edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPBS

edg_wll_LogRegJobPBS - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PBS

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPBSProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobPBSProxy

edg_wll_LogRegJobPBSProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype PBS

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const char *  jobtype,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobProxy

edg_wll_LogRegJobProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRegJobSIMPLE edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobSIMPLE

edg_wll_LogRegJobSIMPLE - simple wrapper around edg_wll_LogEvent for event RegJob, jobtype SIMPLE

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobSIMPLEProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

edg_wll_LogRegJobSIMPLEProxy

edg_wll_LogRegJobSIMPLEProxy - simple wrapper around edg_wll_LogEventProxy for event RegJob, jobtype SIMPLE

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResourceUsage edg_wll_Context  context,
const char *  resource,
const double  quantity,
const char *  unit
 

edg_wll_LogResourceUsage

edg_wll_LogResourceUsage - simple wrapper around edg_wll_LogEvent for event ResourceUsage

Parameters:
[in,out] context context to work with,
[in] resource Resource's name.
[in] quantity Resources's quantity (how much).
[in] unit Units (sec, kB, etc.).
See also:
edg_wll_LogEvent()

int edg_wll_LogResourceUsageProxy edg_wll_Context  context,
const char *  resource,
const double  quantity,
const char *  unit
 

edg_wll_LogResourceUsageProxy

edg_wll_LogResourceUsageProxy - simple wrapper around edg_wll_LogEventProxy for event ResourceUsage

Parameters:
[in,out] context context to work with,
[in] resource Resource's name.
[in] quantity Resources's quantity (how much).
[in] unit Units (sec, kB, etc.).
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResubmission edg_wll_Context  context,
const char *  result,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmission

edg_wll_LogResubmission - simple wrapper around edg_wll_LogEvent for event Resubmission

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionProxy edg_wll_Context  context,
const char *  result,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionProxy

edg_wll_LogResubmissionProxy - simple wrapper around edg_wll_LogEventProxy for event Resubmission

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResubmissionSHALLOW edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionSHALLOW

edg_wll_LogResubmissionSHALLOW - simple wrapper around edg_wll_LogEvent for event Resubmission, result SHALLOW

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionSHALLOWProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionSHALLOWProxy

edg_wll_LogResubmissionSHALLOWProxy - simple wrapper around edg_wll_LogEventProxy for event Resubmission, result SHALLOW

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResubmissionWILLRESUB edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionWILLRESUB

edg_wll_LogResubmissionWILLRESUB - simple wrapper around edg_wll_LogEvent for event Resubmission, result WILLRESUB

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionWILLRESUBProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionWILLRESUBProxy

edg_wll_LogResubmissionWILLRESUBProxy - simple wrapper around edg_wll_LogEventProxy for event Resubmission, result WILLRESUB

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResubmissionWONTRESUB edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionWONTRESUB

edg_wll_LogResubmissionWONTRESUB - simple wrapper around edg_wll_LogEvent for event Resubmission, result WONTRESUB

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionWONTRESUBProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

edg_wll_LogResubmissionWONTRESUBProxy

edg_wll_LogResubmissionWONTRESUBProxy - simple wrapper around edg_wll_LogEventProxy for event Resubmission, result WONTRESUB

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogResume edg_wll_Context  context,
const char *  reason
 

edg_wll_LogResume

edg_wll_LogResume - simple wrapper around edg_wll_LogEvent for event Resume

Parameters:
[in,out] context context to work with,
[in] reason Reason for the resume.
See also:
edg_wll_LogEvent()

int edg_wll_LogResumeProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogResumeProxy

edg_wll_LogResumeProxy - simple wrapper around edg_wll_LogEventProxy for event Resume

Parameters:
[in,out] context context to work with,
[in] reason Reason for the resume.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogRunning edg_wll_Context  context,
const char *  node
 

edg_wll_LogRunning

edg_wll_LogRunning - simple wrapper around edg_wll_LogEvent for event Running

Parameters:
[in,out] context context to work with,
[in] node Worker node on which the job executable is being run.
See also:
edg_wll_LogEvent()

int edg_wll_LogRunningProxy edg_wll_Context  context,
const char *  node
 

edg_wll_LogRunningProxy

edg_wll_LogRunningProxy - simple wrapper around edg_wll_LogEventProxy for event Running

Parameters:
[in,out] context context to work with,
[in] node Worker node on which the job executable is being run.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogSuspend edg_wll_Context  context,
const char *  reason
 

edg_wll_LogSuspend

edg_wll_LogSuspend - simple wrapper around edg_wll_LogEvent for event Suspend

Parameters:
[in,out] context context to work with,
[in] reason Reason for the suspend.
See also:
edg_wll_LogEvent()

int edg_wll_LogSuspendProxy edg_wll_Context  context,
const char *  reason
 

edg_wll_LogSuspendProxy

edg_wll_LogSuspendProxy - simple wrapper around edg_wll_LogEventProxy for event Suspend

Parameters:
[in,out] context context to work with,
[in] reason Reason for the suspend.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogTransfer edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  result,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransfer

edg_wll_LogTransfer - simple wrapper around edg_wll_LogEvent for event Transfer

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferFAIL edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferFAIL

edg_wll_LogTransferFAIL - simple wrapper around edg_wll_LogEvent for event Transfer, result FAIL

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferFAILProxy edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferFAILProxy

edg_wll_LogTransferFAILProxy - simple wrapper around edg_wll_LogEventProxy for event Transfer, result FAIL

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogTransferOK edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferOK

edg_wll_LogTransferOK - simple wrapper around edg_wll_LogEvent for event Transfer, result OK

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferOKProxy edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferOKProxy

edg_wll_LogTransferOKProxy - simple wrapper around edg_wll_LogEventProxy for event Transfer, result OK

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogTransferProxy edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  result,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferProxy

edg_wll_LogTransferProxy - simple wrapper around edg_wll_LogEventProxy for event Transfer

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogTransferREFUSED edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferREFUSED

edg_wll_LogTransferREFUSED - simple wrapper around edg_wll_LogEvent for event Transfer, result REFUSED

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferREFUSEDProxy edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferREFUSEDProxy

edg_wll_LogTransferREFUSEDProxy - simple wrapper around edg_wll_LogEventProxy for event Transfer, result REFUSED

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogTransferSTART edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferSTART

edg_wll_LogTransferSTART - simple wrapper around edg_wll_LogEvent for event Transfer, result START

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferSTARTProxy edg_wll_Context  context,
const edg_wll_Source  destination,
const char *  dest_host,
const char *  dest_instance,
const char *  job,
const char *  reason,
const char *  dest_jobid
 

edg_wll_LogTransferSTARTProxy

edg_wll_LogTransferSTARTProxy - simple wrapper around edg_wll_LogEventProxy for event Transfer, result START

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEventProxy()

int edg_wll_LogUserTag edg_wll_Context  context,
const char *  name,
const char *  value
 

edg_wll_LogUserTag

edg_wll_LogUserTag - simple wrapper around edg_wll_LogEvent for event UserTag

Parameters:
[in,out] context context to work with,
[in] name Arbitrary user tag name.
[in] value Arbitrary user tag value.
See also:
edg_wll_LogEvent()

int edg_wll_LogUserTagProxy edg_wll_Context  context,
const char *  name,
const char *  value
 

edg_wll_LogUserTagProxy

edg_wll_LogUserTagProxy - simple wrapper around edg_wll_LogEventProxy for event UserTag

Parameters:
[in,out] context context to work with,
[in] name Arbitrary user tag name.
[in] value Arbitrary user tag value.
See also:
edg_wll_LogEventProxy()

int edg_wll_RegisterJob edg_wll_Context  context,
const edg_wlc_JobId  job,
enum edg_wll_RegJobJobtype  type,
const char *  jdl,
const char *  ns,
int  num_subjobs,
const char *  seed,
edg_wlc_JobId **  subjobs
 

int edg_wll_RegisterJobProxy edg_wll_Context  context,
const edg_wlc_JobId  job,
enum edg_wll_RegJobJobtype  type,
const char *  jdl,
const char *  ns,
int  num_subjobs,
const char *  seed,
edg_wlc_JobId **  subjobs
 

Register job with L&B Proxy service. Done via logging REGJOB event, may generate subjob id's and create the parent-children associations. Set the job as current for the context and initialize sequence code.

Partitionable jobs should set num_subjobs=0 initially, and re-register when number of subjobs becomes known.

Parameters:
[in] type EDG_WLL_JOB_SIMPLE, EDG_WLL_JOB_DAG, or EDG_WLL_JOB_PARTITIONABLE
[in] user user credentials
[in] jdl user-specified JDL
[in] ns network server contact
[in] num_subjobs number of subjobs to create
[in] seed seed used for subjob id's generator. Use non-NULL value to be able to regenerate the set of jobid's
[out] subjobs returned subjob id's

int edg_wll_RegisterJobSync edg_wll_Context  context,
const edg_wlc_JobId  job,
enum edg_wll_RegJobJobtype  type,
const char *  jdl,
const char *  ns,
int  num_subjobs,
const char *  seed,
edg_wlc_JobId **  subjobs
 

Synchronous variant of edg_wll_RegisterJob

int edg_wll_RegisterSubjobs edg_wll_Context  context,
const edg_wlc_JobId  parent,
char const *const *  jdls,
const char *  ns,
edg_wlc_JobId const *  subjobs
 

Register subjobs in a batch. Mainly used to provide JDL's of individual subjobs in a more efficient way than logging them one by one.

Parameters:
[in] jdls array of JDL's
[in] subjobs array of jobid's in the same order

int edg_wll_RegisterSubjobsProxy edg_wll_Context  context,
const edg_wlc_JobId  parent,
char const *const *  jdls,
const char *  ns,
edg_wlc_JobId const *  subjobs
 

Register subjobs to LB Proxyin a batch. Mainly used to provide JDL's of individual subjobs in a more efficient way than logging them one by one.

Parameters:
[in] jdls array of JDL's
[in] subjobs array of jobid's in the same order

int edg_wll_SetLoggingJob edg_wll_Context  context,
const edg_wlc_JobId  job,
const char *  code,
int  flags
 

Set a current job for given context.

Note:
Should be called before any logging call.
Parameters:
[in,out] context context to work with
[in] job further logging calls are related to this job
[in] code sequence code as obtained from previous component
[in] flags flags on code handling (
See also:
API documentation)

int edg_wll_SetLoggingJobProxy edg_wll_Context  context,
const edg_wlc_JobId  job,
const char *  code,
const char *  user,
int  flags
 

Set a current job for given context.

Note:
Should be called before any logging call.
Parameters:
[in,out] context context to work with
[in] job further logging calls are related to this job
[in] code sequence code as obtained from previous component
[in] user user credentials
[in] flags flags on code handling (
See also:
API documentation)


Generated on Fri Aug 20 13:06:40 2010 for Glite LB Client: C - Interface by  doxygen 1.3.9.1