Changeset bb154c6 in mainline for uspace/srv/sysman/units/unit_tgt.c
- Timestamp:
- 2019-08-03T08:15:25Z (5 years ago)
- Children:
- 09a8006
- Parents:
- 6006f35
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-04-15 15:14:58)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-03 08:15:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/units/unit_tgt.c
r6006f35 rbb154c6 1 1 #include <errno.h> 2 2 3 #include "unit _tgt.h"3 #include "unit.h" 4 4 5 5 static void unit_tgt_init(unit_t *unit) 6 6 { 7 // TODO 7 unit_tgt_t *u_tgt = CAST_TGT(unit); 8 assert(u_tgt); 9 /* Nothing more to do */ 10 } 11 12 static void unit_tgt_destroy(unit_t *unit) 13 { 14 unit_tgt_t *u_tgt = CAST_TGT(unit); 15 assert(u_tgt); 16 /* Nothing more to do */ 17 } 18 19 static int unit_tgt_load(unit_t *unit, ini_configuration_t *ini_conf, 20 text_parse_t *text_parse) 21 { 22 unit_tgt_t *u_tgt = CAST_TGT(unit); 23 assert(u_tgt); 24 25 return EOK; 8 26 } 9 27 10 28 static int unit_tgt_start(unit_t *unit) 11 29 { 12 //TODO 30 unit_tgt_t *u_tgt = CAST_TGT(unit); 31 assert(u_tgt); 32 13 33 return EOK; 14 34 } 15 35 16 static void unit_tgt_destroy(unit_t *unit) 17 { 18 //TODO 19 } 36 DEFINE_UNIT_VMT(unit_tgt) 20 37 21 22 DEFINE_UNIT_OPS(unit_tgt)23
Note:
See TracChangeset
for help on using the changeset viewer.