Changeset ed5367b in mainline for uspace/srv/sysman/unit.h
- Timestamp:
- 2019-08-07T10:01:13Z (5 years ago)
- Children:
- a097c50
- Parents:
- 68ae40a
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-05 01:52:07)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 10:01:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.h
r68ae40a red5367b 70 70 job_t *job; 71 71 72 /** Handle for IPC (immutable) */ 72 73 unit_handle_t handle; 74 75 /** Unit type (immutable) */ 73 76 unit_type_t type; 77 78 /** Unit name (immutable) */ 74 79 char *name; 75 80 … … 110 115 int (*start)(unit_t *); 111 116 117 int (*stop)(unit_t *); 118 112 119 void (*exposee_created)(unit_t *); 113 120 … … 124 131 .destroy = &PREFIX##_destroy, \ 125 132 .start = &PREFIX##_start, \ 133 .stop = &PREFIX##_stop, \ 126 134 .exposee_created = &PREFIX##_exposee_created, \ 127 135 .fail = &PREFIX##_fail \ … … 135 143 extern int unit_load(unit_t *, ini_configuration_t *, text_parse_t *); 136 144 extern int unit_start(unit_t *); 145 extern int unit_stop(unit_t *); 137 146 extern void unit_exposee_created(unit_t *); 138 147 extern void unit_fail(unit_t *);
Note:
See TracChangeset
for help on using the changeset viewer.