2020-06-28 23:59:32 +00:00
|
|
|
#ifndef _TYPE
|
|
|
|
#define _TYPE
|
|
|
|
|
|
|
|
/**
|
|
|
|
* running argument for clone call
|
|
|
|
*/
|
|
|
|
struct clone_args
|
|
|
|
{
|
2020-07-19 21:17:39 +00:00
|
|
|
int argc;
|
2020-06-28 23:59:32 +00:00
|
|
|
char *const *argv;
|
|
|
|
const char *hostname;
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* container object
|
|
|
|
*/
|
|
|
|
typedef struct container_t
|
|
|
|
{
|
|
|
|
int _cloneFlags;
|
|
|
|
struct clone_args cloneArgs;
|
|
|
|
} container_t;
|
|
|
|
|
2020-07-19 21:17:39 +00:00
|
|
|
typedef bool (*char_predicate)(char *);
|
|
|
|
|
2020-06-28 23:59:32 +00:00
|
|
|
#endif
|