The xxxx_get_yyy() functions should as a general rule take a const pointer:

```C
pid_t workflow_job_monitor_get_pid(const workflow_job_monitor_type * monitor) ...
```