job_update_cb
job_update_cb updatecb;
struct session *s, const char *cwd, job_update_cb updatecb,
typedef void (*job_update_cb) (struct job *);