diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-23 03:44:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-23 03:44:47 +0200 |
commit | c0576cd6d61b81d3bab307e2deee10447de115db (patch) | |
tree | 04342640d0b49411754a5482546f546d5cc9b667 /src/install.c | |
parent | 5780425ea7f4b649852991bc515fa8ce71ee43dd (diff) |
bus: expose installer functions
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/install.c b/src/install.c index e6bd5782e1..b37bbbdc5a 100644 --- a/src/install.c +++ b/src/install.c @@ -1942,3 +1942,10 @@ static const char* const unit_file_state_table[_UNIT_FILE_STATE_MAX] = { }; DEFINE_STRING_TABLE_LOOKUP(unit_file_state, UnitFileState); + +static const char* const unit_file_change_type_table[_UNIT_FILE_CHANGE_TYPE_MAX] = { + [UNIT_FILE_SYMLINK] = "symlink", + [UNIT_FILE_UNLINK] = "unlink", +}; + +DEFINE_STRING_TABLE_LOOKUP(unit_file_change_type, UnitFileChangeType); |