Changeset 9532981 in mainline for uspace/srv/sysman/unit.c
- Timestamp:
- 2019-08-07T09:35:37Z (6 years ago)
- Children:
- db34424
- Parents:
- af92309
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-02 23:10:51)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:35:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.c
raf92309 r9532981 39 39 #include <sysman/unit.h> 40 40 41 #include " dep.h"41 #include "edge.h" 42 42 #include "log.h" 43 43 #include "sysman.h" … … 72 72 link_initialize(&unit->units); 73 73 link_initialize(&unit->bfs_link); 74 list_initialize(&unit-> dependants);75 list_initialize(&unit-> dependencies);74 list_initialize(&unit->edges_in); 75 list_initialize(&unit->edges_out); 76 76 77 77 UNIT_VMT(unit)->init(unit); … … 159 159 } 160 160 161 // TODO move to libsysman 161 162 unit_type_t unit_type_name_to_type(const char *type_name) 162 163 { … … 199 200 200 201 while ((cur_tok = str_tok(to_split, " ", &to_split))) { 201 if ( dep_sprout_dependency(unit, cur_tok) != EOK) {202 if (edge_sprout_out(unit, cur_tok) != EOK) { 202 203 result = false; 203 204 goto finish;
Note:
See TracChangeset
for help on using the changeset viewer.