ServiceJobNode Struct Reference

A datatype used to store a ServiceJob within a ServceJobSet using a LinkedList. More...

#include <service_job.h>

Inheritance diagram for ServiceJobNode:
[legend]
Collaboration diagram for ServiceJobNode:
[legend]

Public Member Functions

ServiceJobNodeAllocateServiceJobNode (ServiceJob *job_p)
 Allocate a ServiceJobNode. More...
 
void FreeServiceJobNode (ListItem *service_job_node_p)
 Free a ServiceJobNode. More...
 

Data Fields

ListItem sjn_node
 The node used to hold this in a LinkedList. More...
 
ServiceJobsjn_job_p
 The ServiceJob. More...
 
- Data Fields inherited from ListItem
ListItemln_prev_p
 A pointer to the previous ListItem. More...
 
ListItemln_next_p
 A pointer to the next ListItem. More...
 

Detailed Description

A datatype used to store a ServiceJob within a ServceJobSet using a LinkedList.

Member Function Documentation

◆ AllocateServiceJobNode()

ServiceJobNode * AllocateServiceJobNode ( ServiceJob job_p)

Allocate a ServiceJobNode.

Parameters
job_pThe ServiceJob to allocate a ServiceJobNode for.
Returns
A newly-allocated ServiceJobNode or NULL upon error.

◆ FreeServiceJobNode()

void FreeServiceJobNode ( ListItem service_job_node_p)

Free a ServiceJobNode.

Parameters
service_job_node_pThe ServiceJobNode to free.

Field Documentation

◆ sjn_node

ListItem sjn_node

The node used to hold this in a LinkedList.

◆ sjn_job_p

ServiceJob* sjn_job_p

The ServiceJob.


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