Job call
This commit is contained in:
@@ -26,6 +26,7 @@ long jobs_calls(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "jobs_calls()");
|
||||
out["result"] = "YES I GET TO BACK END";
|
||||
long action = REQ_LONG(in, "action", 0, -1);
|
||||
logfmt(logINFO, "jobs_calls() action=%lu",action);
|
||||
switch (action) {
|
||||
case WRENCHBOARD_JOB_LISTJOBS:
|
||||
return WrenchJobManagerList(in, out);
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
|
||||
long WrenchJobManagerList( CVars in, CVars &out){
|
||||
logfmt(logINFO, "ENTER CALL long WrenchJobManagerList");
|
||||
long ret = 0;
|
||||
const char * loc = getenv("REMOTE_ADDR");
|
||||
const PGresult *res;
|
||||
|
||||
Reference in New Issue
Block a user