Job stats
This commit is contained in:
@@ -33,7 +33,7 @@ long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out);
|
||||
long WrenchJobsOfferInterestList(CVars in, CVars &out);
|
||||
long WrenchUserJobsInterestList(CVars in, CVars &out);
|
||||
long WrenchJobsGroupList(CVars in, CVars &out);
|
||||
|
||||
long WrenchJobsInterestStats(CVars in, CVars &out);
|
||||
|
||||
long jobs_calls(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "jobs_calls()");
|
||||
@@ -131,6 +131,10 @@ long jobs_calls(CVars in, CVars &out) {
|
||||
return WrenchJobsOfferInterest(in, out);
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_JOB_STATS_INTEREST:
|
||||
return WrenchJobsInterestStats(in, out);
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_JOB_PROC_INTEREST:
|
||||
return WrenchJobsProcessInterest(in, out);
|
||||
break;
|
||||
@@ -500,6 +504,17 @@ long WrenchUserJobsInterestList(CVars in, CVars &out) {
|
||||
|
||||
}
|
||||
|
||||
long WrenchJobsInterestStats(CVars in, CVars &out) {
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
char vname[30];
|
||||
out = in;
|
||||
|
||||
|
||||
ret = PHP_CREATED_OK;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
long WrenchJobsOfferInterestList(CVars in, CVars &out) {
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
char vname[30];
|
||||
|
||||
Reference in New Issue
Block a user