}
-int edg_wll_JobStatus(
+int edg_wll_JobStatusServer(
edg_wll_Context ctx,
glite_jobid_const_t job,
int flags,
SUBJOB_CLASS_REST
} subjobClassCodes;
-int edg_wll_JobStatus(edg_wll_Context, glite_jobid_const_t, int, edg_wll_JobStat *);
+int edg_wll_JobStatusServer(edg_wll_Context, glite_jobid_const_t, int, edg_wll_JobStat *);
void destroy_intJobStat(intJobStat *);
void destroy_intJobStat_extension(intJobStat *p);
edg_wll_SetError(ctx,EDG_WLL_ERROR_JOBID_FORMAT,fullid);
ret = HTTP_BADREQ;
}
- else switch (edg_wll_JobStatus(ctx,jobId,0,&stat)) {
+ else switch (edg_wll_JobStatusServer(ctx,jobId,0,&stat)) {
case 0: if (html) edg_wll_JobStatusToHTML(ctx,stat,&message);
else ret = HTTP_OK;
break;
{
edg_wll_JobStat st;
- edg_wll_JobStatus(ctx, jobid, 0, &st);
+ edg_wll_JobStatusServer(ctx, jobid, 0, &st);
edg_wll_FreeStatus(&st);
edg_wlc_JobIdFree(jobid);
{
edg_wll_JobStat st;
- edg_wll_JobStatus(ctx, jobid, 0, &st);
+ edg_wll_JobStatusServer(ctx, jobid, 0, &st);
edg_wll_FreeStatus(&st);
edg_wlc_JobIdFree(jobid);
}
if (j_old) edg_wll_FreeStatus(&state_out);
- if ( edg_wll_JobStatus(ctx, out[i].any.jobId, 0, &state_out) )
+ if ( edg_wll_JobStatusServer(ctx, out[i].any.jobId, 0, &state_out) )
{
edg_wll_FreeEvent(out+i);
if (edg_wll_Error(ctx,NULL,NULL) == EPERM) eperm = 1;
// if some condition hits unindexed column or states of matching jobs wanted
if ((where_flags & FL_FILTER) || !(flags & EDG_WLL_STAT_NO_STATES)) {
- if ( edg_wll_JobStatus(ctx, jobs_out[i], flags, &states_out[i]) )
+ if ( edg_wll_JobStatusServer(ctx, jobs_out[i], flags, &states_out[i]) )
{
edg_wlc_JobIdFree(jobs_out[i]);
if (edg_wll_Error(ctx,NULL,NULL) == EPERM) eperm = 1;
}
memset(&stat,0,sizeof stat);
- if (edg_wll_JobStatus(ctx,job,0,&stat)) { /* FIXME: replace by intJobStatus ?? */
+ if (edg_wll_JobStatusServer(ctx,job,0,&stat)) { /* FIXME: replace by intJobStatus ?? */
edg_wll_FreeStatus(&stat);
goto abort;
}
*states = calloc(njobs, sizeof(**states));
for (i = 0; i < njobs; i++) {
- if (edg_wll_JobStatus(ctx, out[i], -1, &(*states)[i]) != 0) {
+ if (edg_wll_JobStatusServer(ctx, out[i], -1, &(*states)[i]) != 0) {
for (j = 0; j < i; j++) edg_wll_FreeStatus(&(*states)[j]);
*states = NULL;
break;
free(cflags);
}
- if ( edg_wll_JobStatus(ctx, j, flags, &s) )
+ if ( edg_wll_JobStatusServer(ctx, j, flags, &s) )
{
edg_wll_ErrToFault(ctx, soap);
return SOAP_FAULT;