summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-06 11:53:00 +0200
committerStef Walter <stef@thewalter.net>2014-08-15 14:07:07 +0200
commitb39a2770ba55637da80e2e389222c59dbea73507 (patch)
treec7773e973467194cbfde043297222f8092937496 /src/core/job.h
parent2ea31e5b13448fd7a9757da4bcd1de04a151ac3f (diff)
core: Rename Job.subscribed field to Job.clients
This reflects how this field will be used, to not only track where to send signals, but also which callers (other than root) are allowed to call DBus methods on the Job.
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 30d41d9edd..1e7c61b04f 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -145,9 +145,15 @@ struct Job {
sd_event_source *timer_event_source;
usec_t begin_usec;
- /* There can be more than one client, because of job merging. */
- sd_bus_track *subscribed;
- char **deserialized_subscribed;
+ /*
+ * This tracks where to send signals, and also which clients
+ * are allowed to call DBus methods on the job (other than
+ * root).
+ *
+ * There can be more than one client, because of job merging.
+ */
+ sd_bus_track *clients;
+ char **deserialized_clients;
JobResult result;