Job stats

This commit is contained in:
CHIEFSOFT\ameye
2024-07-18 12:03:15 -04:00
parent 1185fb97ec
commit 9ec7f55046
5 changed files with 31 additions and 2 deletions
+16 -1
View File
@@ -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];