Changeset b55f62a in mainline for uspace/lib/sysman/include


Ignore:
Timestamp:
2019-08-07T09:29:33Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
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)
Message:

sysman: Create control utility sysctl

  • can list units and their states (starts to feel like systemctl :-)
  • helluva boilerplate to get some IPC between sysctl and sysman :-/

Conflicts:

boot/Makefile.common
uspace/Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/sysman/include/sysman/ctl.h

    r2df7d824 rb55f62a  
    3030#define _SYSMAN_CTL_H
    3131
     32#include <ipc/sysman.h>
    3233#include <sysman/unit.h>
    3334
    3435int sysman_unit_start(const char *, int);
    3536
     37int sysman_get_units(unit_handle_t **, size_t *);
     38
     39int sysman_unit_get_name(unit_handle_t, char *, size_t);
     40int sysman_unit_get_state(unit_handle_t, unit_state_t *);
    3641#endif
Note: See TracChangeset for help on using the changeset viewer.