install: teach preset query logic --root= support

This commit is contained in:
Lennart Poettering
2014-06-17 02:43:43 +02:00
parent d309c1c364
commit c2a8d7b05c
2 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h);
void unit_file_list_free(Hashmap *h);
void unit_file_changes_free(UnitFileChange *changes, unsigned n_changes);
int unit_file_query_preset(UnitFileScope scope, const char *name);
int unit_file_query_preset(UnitFileScope scope, const char *root_dir, const char *name);
const char *unit_file_state_to_string(UnitFileState s) _const_;
UnitFileState unit_file_state_from_string(const char *s) _pure_;