edg_wll_Context context,
const edg_wll_QueryRec * conditions,
int flags,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
edg_wll_Context context,
const edg_wll_QueryRec ** conditions,
int flags,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
edg_wll_Context context,
const edg_wll_QueryRec * conditions,
int flags,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
edg_wll_Context context,
const edg_wll_QueryRec ** conditions,
int flags,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
*/
int edg_wll_UserJobs(
edg_wll_Context context,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
*/
int edg_wll_UserJobsProxy(
edg_wll_Context context,
- edg_wlc_JobId ** jobs,
+ glite_jobid_t ** jobs,
edg_wll_JobStat ** states
);
*/
int edg_wll_QueryListener(
edg_wll_Context context,
- edg_wlc_JobId jobId,
+ glite_jobid_const_t jobId,
const char * name,
char ** host,
uint16_t * port
*/
int edg_wll_QueryListenerProxy(
edg_wll_Context context,
- edg_wlc_JobId jobId,
+ glite_jobid_const_t jobId,
const char * name,
char ** host,
uint16_t * port
const char * ns,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
/**
const char * ns,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
/**
const char * ns,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
#ifdef LB_PERF
const char * ns,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
/* register only to LBProxy */
const char * ns,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
#endif
glite_jobid_const_t parent,
char const * const * jdls,
const char * ns,
- edg_wlc_JobId const * subjobs
+ glite_jobid_t const * subjobs
);
glite_jobid_const_t parent,
char const * const * jdls,
const char * ns,
- edg_wlc_JobId const * subjobs
+ glite_jobid_t const * subjobs
);
/**
glite_jobid_const_t parent,
int num_subjobs,
const char * seed,
- edg_wlc_JobId ** subjobs
+ glite_jobid_t ** subjobs
);
try {
edg_wll_JobStat *cstat = jobStatus.c_ptr();
int ret = edg_wll_JobStatus(server.getContext(),
- const_cast<glite_jobid_t>(jobId.c_jobid()),
+ jobId.c_jobid(),
flags,
cstat);
check_result(ret,
try {
context = server.getContext();
- result = edg_wll_JobLog(context, const_cast<glite_jobid_t>(jobId.c_jobid()), &events);
+ result = edg_wll_JobLog(context, jobId.c_jobid(), &events);
if (result == E2BIG) {
edg_wll_Error(context, NULL, &errstr);
check_result(edg_wll_GetParam(context,
try {
int ret = edg_wll_QueryListener(server.getContext(),
- const_cast<glite_jobid_t>(jobId.c_jobid()),
+ jobId.c_jobid(),
name.c_str(),
&c_host,
&port);
j[0].attr = EDG_WLL_QUERY_ATTR_JOBID;
j[0].op = EDG_WLL_QUERY_OP_EQUAL;
- j[0].value.j = (glite_jobid_t) job;
+ j[0].value.j = job;
e[0].attr = EDG_WLL_QUERY_ATTR_LEVEL;
e[0].op = EDG_WLL_QUERY_OP_LESS;
j[0].attr = EDG_WLL_QUERY_ATTR_JOBID;
j[0].op = EDG_WLL_QUERY_OP_EQUAL;
- j[0].value.j = (glite_jobid_t) job;
+ j[0].value.j = job;
j[1].attr = EDG_WLL_QUERY_ATTR_UNDEF;
ret = edg_wll_QueryJobs(ctx,j,flags,NULL,&statesOut);
-int edg_wll_QueryListener(edg_wll_Context ctx, edg_wlc_JobId job, const char *name, char** host, uint16_t *port) {
+int edg_wll_QueryListener(edg_wll_Context ctx, glite_jobid_const_t job, const char *name, char** host, uint16_t *port) {
int i;
edg_wll_Event *events = NULL;
int edg_wll_QueryListenerProxy(
edg_wll_Context ctx,
- edg_wlc_JobId job,
+ glite_jobid_const_t job,
const char *name,
char** host,
uint16_t *port)
char *p_key_filename;
time_t purge_timeout[EDG_WLL_NUMBER_OF_STATCODES];
/* producer part */
- edg_wlc_JobId p_jobid;
+ glite_jobid_t p_jobid;
edg_wll_SeqCode p_seqcode;
int count_statistics;
extern void edg_wll_FreeParams(edg_wll_Context context);
-extern int edg_wll_GenerateSubjobIds(edg_wll_Context, glite_jobid_const_t, int, const char *, edg_wlc_JobId **);
+extern int edg_wll_GenerateSubjobIds(edg_wll_Context, glite_jobid_const_t, int, const char *, glite_jobid_t **);
#ifdef __cplusplus
}
*/
int edg_wll_GetLoggingJob(
const edg_wll_Context context,
- edg_wlc_JobId *jobid_out
+ glite_jobid_t *jobid_out
);
/*
const char *test_user,
const char *test_name,
int job_num,
- edg_wlc_JobId *jobid);
+ glite_jobid_t *jobid);
#endif /* GLITE_LB_PERFTEST_H */
int i; /**< integer query attribute value */
char *c; /**< character query attribute value */
struct timeval t; /**< time query attribute value */
- glite_jobid_t j; /**< JobId query attribute value */
+ glite_jobid_const_t j; /**< JobId query attribute value */
} value, value2;
} edg_wll_QueryRec;
enum edg_wll_QueryType type;
edg_wll_QueryRec **conditions;
int flags;
- edg_wlc_JobId *jobsOutGlobal;
+ glite_jobid_t *jobsOutGlobal;
edg_wll_Event *eventsOutGlobal;
edg_wll_JobStat *jobStatGlobal;
edg_wll_JobStat jobStatSingleGlobal;
time_t statsFrom, statsTo;
float statsRate, statsDuration;
int statsResFrom, statsResTo;
- edg_wlc_JobId jobId;
+ glite_jobid_t jobId;
char *source;
char *seqCode;
int errCode;
void edg_wll_add_time_t_list_to_XMLBody(char **body, const time_t *toAdd, const char *tag, char *(*indexToTag)(), const char *indent, const int from, const int to);
void edg_wll_add_cclassad_to_XMLBody(char **body, void *toAdd, const char *tag, const char *null);
char *edg_wll_from_string_to_string(edg_wll_XML_ctx *XMLCtx);
-edg_wlc_JobId edg_wll_from_string_to_jobid(edg_wll_XML_ctx *XMLCtx);
+glite_jobid_t edg_wll_from_string_to_jobid(edg_wll_XML_ctx *XMLCtx);
edg_wll_NotifId edg_wll_from_string_to_notifid(edg_wll_XML_ctx *XMLCtx);
edg_wll_JobStatCode edg_wll_from_string_to_edg_wll_JobStatCode(edg_wll_XML_ctx *XMLCtx);
int edg_wll_from_string_to_int(edg_wll_XML_ctx *XMLCtx);