FOSSology  4.4.0
Open Source License Compliance by Open Source Software
scheduler_t Struct Reference

#include <scheduler.h>

Collaboration diagram for scheduler_t:
Collaboration graph

Public Attributes

gchar * process_name
 The name of the scheduler process.
 
gboolean s_pid
 The pid of the scheduler process.
 
gboolean s_daemon
 Is the scheduler being run as a daemon.
 
gboolean s_startup
 Has the scheduler finished startup tests.
 
gboolean s_pause
 Has the scheduler been paused.
 
fo_confsysconfig
 Configuration information loaded from the configuration file.
 
gchar * sysconfigdir
 The system directory that contain fossology.conf.
 
gchar * logdir
 The directory to put the log file in.
 
gboolean logcmdline
 Was the log file set by the command line.
 
log_tmain_log
 The main log file for the scheduler.
 
GTree * meta_agents
 List of all meta agents available to the scheduler.
 
GTree * agents
 List of any currently running agents.
 
GTree * host_list
 List of all hosts available to the scheduler.
 
GList * host_queue
 Round-robin queue for choosing which host use next.
 
gboolean i_created
 Has the interface been created.
 
gboolean i_terminate
 Has the interface been terminated.
 
uint16_t i_port
 The port that the scheduler is listening on.
 
GThread * server
 Thread that is listening to the server socket.
 
GThreadPool * workers
 Threads to handle incoming network communication.
 
GCancellable * cancel
 Used to stop the listening thread when it is running.
 
GTree * job_list
 List of jobs that have been created.
 
GSequence * job_queue
 heap of jobs that still need to be started
 
PGconn * db_conn
 The database connection.
 
gchar * host_url
 The url that is used to get to the FOSSology instance.
 
gchar * email_subject
 The subject to be used for emails.
 
gchar * email_header
 The beginning of the email message.
 
gchar * email_footer
 The end of the email message.
 
gchar * email_command
 The command that will sends emails, usually mailx.
 
gboolean default_header
 Is the header the default header.
 
gboolean default_footer
 Is the footer the default footer.
 
GRegex * parse_agent_msg
 Parses messages coming from the agents.
 
GRegex * parse_db_email
 Parses database email text.
 
GRegex * parse_interface_cmd
 Parses the commands received by the interface.
 

Detailed Description

The main scheduler structure. It holds all the information about the current scheduler process and is used by several different operations.

Definition at line 139 of file scheduler.h.


The documentation for this struct was generated from the following file: