Changeset aa0faeca in mainline for uspace/srv/sysman/unit.h
- Timestamp:
- 2020-03-08T16:47:18Z (5 years ago)
- Children:
- a73aaec1
- Parents:
- 13b4504
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-03-06 18:10:45)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-03-08 16:47:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.h
r13b4504 raa0faeca 55 55 } repo_state_t; 56 56 57 typedef enum { 58 UNIT_CONDITION_NONE = 0, 59 UNIT_CONDITION_ARCHITECTURE = 1 60 } unit_condition_t; 61 57 62 typedef struct { 58 63 /** Link to name-to-unit hash table */ … … 92 97 list_t edges_in; 93 98 list_t edges_out; 99 100 /** 101 * flag for conditions which were not meet 102 * determines if the unit should be started 103 */ 104 unit_condition_t conditions; 94 105 } unit_t; 95 106 … … 161 172 162 173 extern const char *unit_name(const unit_t *); 174 extern void unit_log_condition(unit_t *unit); 163 175 164 176 extern bool unit_parse_unit_list(const char *, void *, text_parse_t *, size_t); 177 extern bool unit_parse_condition_architecture(const char *, void *, text_parse_t *, size_t); 165 178 166 179 #endif
Note:
See TracChangeset
for help on using the changeset viewer.