chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: rename 'banned' load state to 'masked'
[elogind.git]
/
src
/
unit.h
diff --git
a/src/unit.h
b/src/unit.h
index a020bd8a0d7421b8273eb4ccfbaac44bdf6290ed..605fa3774d8944ec4c27a0d5514dcc408efecfa7 100644
(file)
--- a/
src/unit.h
+++ b/
src/unit.h
@@
-62,7
+62,7
@@
enum UnitLoadState {
UNIT_LOADED,
UNIT_ERROR,
UNIT_MERGED,
UNIT_LOADED,
UNIT_ERROR,
UNIT_MERGED,
- UNIT_
BANN
ED,
+ UNIT_
MASK
ED,
_UNIT_LOAD_STATE_MAX,
_UNIT_LOAD_STATE_INVALID = -1
};
_UNIT_LOAD_STATE_MAX,
_UNIT_LOAD_STATE_INVALID = -1
};
@@
-505,7
+505,7
@@
bool unit_pending_active(Unit *u);
int unit_add_default_target_dependency(Unit *u, Unit *target);
UnitType unit_name_to_type(const char *n);
int unit_add_default_target_dependency(Unit *u, Unit *target);
UnitType unit_name_to_type(const char *n);
-bool unit_name_is_valid(const char *n);
+bool unit_name_is_valid(const char *n
, bool template_ok
);
const char *unit_load_state_to_string(UnitLoadState i);
UnitLoadState unit_load_state_from_string(const char *s);
const char *unit_load_state_to_string(UnitLoadState i);
UnitLoadState unit_load_state_from_string(const char *s);