Changeset dda2602 in mainline for uspace/srv/sysman/unit.h
- Timestamp:
- 2019-08-03T09:41:07Z (5 years ago)
- Children:
- dd5c623
- Parents:
- c0e4fc50
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-05-08 11:10:06)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-03 09:41:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.h
rc0e4fc50 rdda2602 42 42 typedef enum { 43 43 UNIT_TYPE_INVALID = -1, 44 UNIT_ TARGET= 0,44 UNIT_CONFIGURATION = 0, 45 45 UNIT_MOUNT, 46 UNIT_ CONFIGURATION,47 UNIT_ SERVICE46 UNIT_SERVICE, 47 UNIT_TARGET 48 48 } unit_type_t; 49 49 … … 56 56 } unit_state_t; 57 57 58 /* Forward declarations */ 59 typedef struct unit_vmt unit_vmt_t; 60 struct unit_vmt; 61 62 typedef struct job job_t; 63 struct job; 64 58 65 typedef struct { 59 ht_link_t units; 66 /** Link to name-to-unit hash table */ 67 ht_link_t units_by_name; 68 69 /** Link to list of all units */ 70 link_t units; 71 72 /** Link to queue, when BFS traversing units */ 73 link_t bfs_link; 74 75 /** Seen tag for BFS traverse, must be reset before each BFS */ 76 bool bfs_tag; 77 78 job_t *job; 60 79 61 80 unit_type_t type; … … 67 86 list_t dependants; 68 87 } unit_t; 69 70 typedef struct unit_vmt unit_vmt_t;71 struct unit_vmt;72 88 73 89 #include "unit_cfg.h"
Note:
See TracChangeset
for help on using the changeset viewer.