FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
The job structure. More...
#include <job.h>
Public Attributes | |
char * | agent_type |
The type of agent used to analyze the data. | |
char * | required_host |
If not NULL, this job must run on a specific host machine. | |
GList * | running_agents |
The list of agents assigned to this job that are still working. | |
GList * | finished_agents |
The list of agents that have completed their tasks. | |
GList * | failed_agents |
The list of agents that failed while working. | |
log_t * | log |
The log to print any agent logging messages to. | |
job_status | status |
The current status for the job. | |
gchar * | data |
The data associated with this job (jq_args) | |
gchar * | jq_cmd_args |
Command line arguments for this job. | |
PGresult * | db_result |
Results from the sql query (if any) | |
GMutex * | lock |
Lock to maintain data integrity. | |
uint32_t | idx |
The current index into the sql results. | |
gchar * | message |
Message that will be sent with job notification email. | |
int32_t | priority |
Importance of the job, maps directory to unix priority. | |
int32_t | verbose |
The verbose level for all of the agents in this job. | |
int32_t | parent_id |
The identifier for the parent of this job (its queue id) | |
int32_t | id |
The identifier for this job. | |
int32_t | user_id |
The id of the user that created the job. | |
int32_t | group_id |
The id of the group that created the job. | |