Changeset dda2602 in mainline for uspace/srv/sysman/util.h
- Timestamp:
- 2019-08-03T09:41:07Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/util.h
rc0e4fc50 rdda2602 30 30 #define SYSMAN_UTIL_H 31 31 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 */ 37 typedef 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 48 extern char *util_compose_path(const char *, const char *); 49 50 extern bool util_parse_command(const char *, void *, text_parse_t *, size_t); 51 52 extern void util_command_init(command_t *); 53 extern void util_command_deinit(command_t *); 33 54 34 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.