chiark / gitweb /
event: rename the "mute" field of event sources to "enabled"
authorLennart Poettering <lennart@poettering.net>
Thu, 10 Oct 2013 23:08:15 +0000 (01:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 Oct 2013 23:08:15 +0000 (01:08 +0200)
commitbaf762833224267ef5380fb83b22f294628695a8
treeeefb25c1d8b88bfe4e93e32aa4ef35c226e3a139
parentda7e457c5b9339721454ae8401a03ffdd781e6a9
event: rename the "mute" field of event sources to "enabled"

In addition, the states "UNMUTED" and "MUTED" become "ON" and "OFF".

This has the benefit that a possible value of this field is not
identical to its name, thus minimizing confusion.
src/libsystemd-bus/sd-event.c
src/libsystemd-bus/test-event.c
src/systemd/sd-event.h