Job stats
This commit is contained in:
@@ -333,6 +333,8 @@ enum { PARTNER_STRIPE };
|
||||
#define WRENCHBOARD_JOB_JOBGROUPADD 13046
|
||||
|
||||
#define WRENCHBOARD_JOB_REPORT 13047
|
||||
#define WRENCHBOARD_JOB_STATS_INTEREST 13048
|
||||
|
||||
|
||||
#define WRENCHBOARD_JOBS_END 13999
|
||||
//**************************************************************
|
||||
|
||||
@@ -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