Changeset b55f62a in mainline for uspace/srv/sysman/unit.h
- Timestamp:
- 2019-08-07T09:29:33Z (6 years ago)
- Children:
- 918ac9b
- Parents:
- 2df7d824
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-02 00:50:02)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:29:33)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.h
r2df7d824 rb55f62a 39 39 #include <conf/text_parse.h> 40 40 #include <fibril_synch.h> 41 42 typedef enum { 43 UNIT_TYPE_INVALID = -1, 44 UNIT_CONFIGURATION = 0, 45 UNIT_MOUNT, 46 UNIT_SERVICE, 47 UNIT_TARGET 48 } unit_type_t; 49 50 typedef enum { 51 STATE_EMBRYO = 0, 52 STATE_STARTING, 53 STATE_STARTED, 54 STATE_STOPPED, 55 STATE_FAILED 56 } unit_state_t; 41 #include <ipc/sysman.h> 57 42 58 43 /* Forward declarations */ … … 66 51 /** Link to name-to-unit hash table */ 67 52 ht_link_t units_by_name; 53 54 /** Link to handle-to-unit hash table */ 55 ht_link_t units_by_handle; 68 56 69 57 /** Link to list of all units */ … … 80 68 job_t *job; 81 69 70 unit_handle_t handle; 82 71 unit_type_t type; 83 72 char *name;
Note:
See TracChangeset
for help on using the changeset viewer.