diff options
author | Ray Strode <rstrode@redhat.com> | 2008-07-10 14:35:38 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-07-12 13:21:23 -0400 |
commit | 91306ef938873fce8f2ae2d4a6b3282d0379c65a (patch) | |
tree | 26e0a45f6dc8b75da6cdb3a2ad7789cf3a8ac2ec /bus/activation.h | |
parent | 8ec160419231d68c1f6a1e03def8353e02b442a9 (diff) |
Store what environment to activate with on activation object
We now keep the environment in a hash table member of the
activation object and provide a method
bus_activation_set_environment_variable to modify the
hash table. This hash table is seeded initially with the
environment of the bus daemon itself.
Diffstat (limited to 'bus/activation.h')
-rw-r--r-- | bus/activation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/activation.h b/bus/activation.h index 79084185..56e22836 100644 --- a/bus/activation.h +++ b/bus/activation.h @@ -34,6 +34,11 @@ BusActivation* bus_activation_new (BusContext *context, DBusError *error); BusActivation* bus_activation_ref (BusActivation *activation); void bus_activation_unref (BusActivation *activation); + +dbus_bool_t bus_activation_set_environment_variable (BusActivation *activation, + const char *key, + const char *value, + DBusError *error); dbus_bool_t bus_activation_activate_service (BusActivation *activation, DBusConnection *connection, BusTransaction *transaction, |