diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 84ec3ca..30c30fe 100644 --- a/include/common.h +++ b/include/common.h @@ -69,4 +69,11 @@ ostream_t *data_writer_ostream_create(const char *filename, sqfs_inode_generic_t **inode, int flags); +/* + Parse a comma separated list (e.g. "uid=...,gid=..." of defaults for + fstree nodes. Used for command line parsing. Returns 0 on success, + -1 on failure. Prints an error message to stderr on failure. + */ +int parse_fstree_defaults(fstree_defaults_t *out, char *str); + #endif /* COMMON_H */ |