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

consumer.h File Reference

L&B consumer API. More...

#include "glite/wmsutils/jobid/cjobid.h"
#include "glite/lb/context.h"
#include "glite/lb/events.h"
#include "glite/lb/jobstat.h"

Go to the source code of this file.

Data Structures

struct  _edg_wll_QueryRec
union  _edg_wll_QueryRec::edg_wll_QueryVal

Defines

#define EDG_WLL_QUERY_TIMEOUT_DEFAULT   120
#define EDG_WLL_QUERY_TIMEOUT_MAX   1800
#define EDG_WLL_STAT_CLASSADS   1
#define EDG_WLL_STAT_CHILDREN   2
#define EDG_WLL_STAT_CHILDSTAT   4
#define EDG_WLL_STAT_CHILDHIST_FAST   8
#define EDG_WLL_STAT_CHILDHIST_THOROUGH   16
#define EDG_WLL_QUERY_TIMEOUT_DEFAULT   120
#define EDG_WLL_QUERY_TIMEOUT_MAX   1800

Typedefs

typedef enum _edg_wll_QueryAttr edg_wll_QueryAttr
typedef enum _edg_wll_QueryOp edg_wll_QueryOp
typedef _edg_wll_QueryRec edg_wll_QueryRec

Enumerations

enum  _edg_wll_QueryAttr {
  EDG_WLL_QUERY_ATTR_UNDEF = 0, EDG_WLL_QUERY_ATTR_JOBID, EDG_WLL_QUERY_ATTR_OWNER, EDG_WLL_QUERY_ATTR_STATUS,
  EDG_WLL_QUERY_ATTR_LOCATION, EDG_WLL_QUERY_ATTR_DESTINATION, EDG_WLL_QUERY_ATTR_DONECODE, EDG_WLL_QUERY_ATTR_USERTAG,
  EDG_WLL_QUERY_ATTR_TIME, EDG_WLL_QUERY_ATTR_LEVEL, EDG_WLL_QUERY_ATTR_HOST, EDG_WLL_QUERY_ATTR_SOURCE,
  EDG_WLL_QUERY_ATTR_INSTANCE, EDG_WLL_QUERY_ATTR_EVENT_TYPE, EDG_WLL_QUERY_ATTR_CHKPT_TAG, EDG_WLL_QUERY_ATTR_RESUBMITTED,
  EDG_WLL_QUERY_ATTR_PARENT, EDG_WLL_QUERY_ATTR_EXITCODE, EDG_WLL_QUERY_ATTR__LAST
}
enum  _edg_wll_QueryOp {
  EDG_WLL_QUERY_OP_EQUAL, EDG_WLL_QUERY_OP_LESS, EDG_WLL_QUERY_OP_GREATER, EDG_WLL_QUERY_OP_WITHIN,
  EDG_WLL_QUERY_OP_UNEQUAL
}

Functions

int edg_wll_QueryEvents (edg_wll_Context context, const edg_wll_QueryRec *job_conditions, const edg_wll_QueryRec *event_conditions, edg_wll_Event **events)
int edg_wll_QueryEventsExt (edg_wll_Context context, const edg_wll_QueryRec **job_conditions, const edg_wll_QueryRec **event_conditions, edg_wll_Event **events)
int edg_wll_QueryEventsProxy (edg_wll_Context context, const edg_wll_QueryRec *job_conditions, const edg_wll_QueryRec *event_conditions, edg_wll_Event **events)
int edg_wll_QueryEventsExtProxy (edg_wll_Context context, const edg_wll_QueryRec **job_conditions, const edg_wll_QueryRec **event_conditions, edg_wll_Event **events)
int edg_wll_QueryJobs (edg_wll_Context context, const edg_wll_QueryRec *conditions, int flags, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_QueryJobsExt (edg_wll_Context context, const edg_wll_QueryRec **conditions, int flags, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_QueryJobsProxy (edg_wll_Context context, const edg_wll_QueryRec *conditions, int flags, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_QueryJobsExtProxy (edg_wll_Context context, const edg_wll_QueryRec **conditions, int flags, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_JobStatus (edg_wll_Context context, const edg_wlc_JobId jobid, int flags, edg_wll_JobStat *status)
int edg_wll_JobStatusProxy (edg_wll_Context context, const edg_wlc_JobId jobid, int flags, edg_wll_JobStat *status)
int edg_wll_JobLog (edg_wll_Context context, const edg_wlc_JobId jobId, edg_wll_Event **events)
int edg_wll_JobLogProxy (edg_wll_Context context, const edg_wlc_JobId jobId, edg_wll_Event **events)
int edg_wll_UserJobs (edg_wll_Context context, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_UserJobsProxy (edg_wll_Context context, edg_wlc_JobId **jobs, edg_wll_JobStat **states)
int edg_wll_GetIndexedAttrs (edg_wll_Context context, edg_wll_QueryRec ***attrs)
int edg_wll_GetServerLimit (edg_wll_Context context, int *limit)
int edg_wll_QueryListener (edg_wll_Context context, edg_wlc_JobId jobId, const char *name, char **host, uint16_t *port)
int edg_wll_QueryListenerProxy (edg_wll_Context context, edg_wlc_JobId jobId, const char *name, char **host, uint16_t *port)
int edg_wll_QuerySequenceCodeProxy (edg_wll_Context context, edg_wlc_JobId jobId, char **code)
void edg_wll_QueryRecFree (edg_wll_QueryRec *)


Detailed Description

L&B consumer API.


Generated on Tue May 8 00:32:29 2007 for Glite LB Client: C - Interface by  doxygen 1.3.9.1