John Snow 404ff28d6a jobs: remove ret argument to job_completed; privatize it
Jobs are now expected to return their retcode on the stack, from the
.run callback, so we can remove that argument.

job_cancel does not need to set -ECANCELED because job_completed will
update the return code itself if the job was canceled.

While we're here, make job_completed static to job.c and remove it from
job.h; move the documentation of return code to the .run() callback and
to the job->ret property, accordingly.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20180830015734.19765-9-jsnow@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2018-08-31 16:28:33 +02:00
..
2017-09-22 14:11:25 +02:00
2017-07-24 12:42:55 +01:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2016-10-26 08:29:01 -07:00
2017-09-05 22:34:40 +02:00
2018-08-23 18:46:25 +02:00
2018-03-12 11:18:26 +01:00
2016-06-16 18:39:03 +02:00
2018-08-23 18:46:25 +02:00
2018-08-23 18:46:25 +02:00
2018-08-23 18:46:25 +02:00
2018-01-16 14:54:50 +01:00
2018-08-23 18:46:25 +02:00
2017-06-16 07:55:00 +08:00
2018-08-23 18:46:25 +02:00
2016-02-23 12:43:05 +00:00
2018-06-15 14:40:56 +01:00
2018-08-24 20:26:37 +02:00
2016-09-15 15:32:22 +03:00
2017-12-20 22:01:24 +08:00
2018-02-08 09:22:03 +08:00
2017-01-24 23:26:52 +03:00