{ "Priority", "i"},
{ "VolumeName", "s"},
{ "CatalogRes", "(sssssis)"},
+ { "JobErrors", "i"},
+ { "JobFiles", "i"},
+ { "SDJobFiles", "i"},
+ { "SDErrors", "i"},
+ { "FDJobStatus","s"},
+ { "SDJobStatus","s"},
{ NULL, NULL}
};
jcr->catalog->db_user, jcr->catalog->db_password,
jcr->catalog->db_socket, jcr->catalog->db_port,
db_get_type());
-
+ case 15: /* JobErrors */
+ return Py_BuildValue(getvars[i].fmt, jcr->JobErrors);
+ case 16: /* JobFiles */
+ return Py_BuildValue(getvars[i].fmt, jcr->JobFiles);
+ case 17: /* SDJobFiles */
+ return Py_BuildValue(getvars[i].fmt, jcr->SDJobFiles);
+ case 18: /* SDErrors */
+ return Py_BuildValue(getvars[i].fmt, jcr->SDErrors);
+ case 19: /* FDJobStatus */
+ buf[1] = 0;
+ buf[0] = jcr->FDJobStatus;
+ return Py_BuildValue(getvars[i].fmt, buf);
+ case 29: /* SDJobStatus */
+ buf[1] = 0;
+ buf[0] = jcr->SDJobStatus;
+ return Py_BuildValue(getvars[i].fmt, buf);
}
bsnprintf(errmsg, sizeof(errmsg), _("Attribute %s not found."), attrname);
bail_out:
General:
12Sep06
+kes Add JobErrors, JobFiles, SDJobFiles, SDJobErrors, SDJobStatus,
+ and FDJobStatus to the Director Python variables.
kes Make sure valid argument passed to str_to_utime() where Arno
had a seg fault.
kes Apply Richard Mortimer's patch for bcopy, bextract, and bscan.