Changeset bb154c6 in mainline for uspace/srv/sysman/units/unit_cfg.h


Ignore:
Timestamp:
2019-08-03T08:15:25Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
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)
Message:

Add skeleton for configuration files loading

  • Create content of /cfg directory,
  • create sample configuration file,
  • refactored polymorphism.

Conflicts:

boot/Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/units/unit_cfg.h

    r6006f35 rbb154c6  
    22#define SYSMAN_UNIT_CFG_H
    33
    4 #include "unit_types.h"
     4#include "unit.h"
    55
    66typedef struct {
    7         const char *path;
     7        unit_t unit;
     8
     9        char *path;
    810} unit_cfg_t;
    911
    10 extern unit_ops_t unit_cfg_ops;
     12extern unit_vmt_t unit_cfg_ops;
    1113
    1214#endif
Note: See TracChangeset for help on using the changeset viewer.