Changeset dda2602 in mainline for uspace/srv/sysman/util.h


Ignore:
Timestamp:
2019-08-03T09:41:07Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
dd5c623
Parents:
c0e4fc50
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-08 11:10:06)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 09:41:07)
Message:

sysman: Create units to start up to compositor

  • add necessary units to support basic GUI (barber, vterm)
  • lacking autostart is compensated with explicit dependencies
  • IPC_FLAG_AUTOSTART in compositor and locsrv fix
  • paths to v* binaries
  • refactored job closure creation

Conflicts:

boot/Makefile.common
uspace/app/vlaunch/vlaunch.c
uspace/srv/hid/compositor/compositor.c
uspace/srv/locsrv/locsrv.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/util.h

    rc0e4fc50 rdda2602  
    3030#define SYSMAN_UTIL_H
    3131
    32 extern char *compose_path(const char *, const char *);
     32#include <conf/configuration.h>
     33
     34#define MAX_COMMAND_ARGS 256
     35
     36/** Represent stuctured execute command */
     37typedef struct {
     38        /** Path to executable */
     39        const char *path;
     40        /** No. of command line arguments */
     41        size_t argc;
     42        /** NULL-terminated vector of command line arguments */
     43        const char *argv[MAX_COMMAND_ARGS + 1];
     44        /** (internal) Buffer holding raw string data */
     45        char *buffer;
     46} command_t;
     47
     48extern char *util_compose_path(const char *, const char *);
     49
     50extern bool util_parse_command(const char *, void *, text_parse_t *, size_t);
     51
     52extern void util_command_init(command_t *);
     53extern void util_command_deinit(command_t *);
    3354
    3455#endif
Note: See TracChangeset for help on using the changeset viewer.