blob: d4eb4409d3b68e71be91b611c611dc267e6716e0 [file] [log] [blame]
Mike Frysinger5ef22ca2018-01-20 13:42:10 -05001/* Copyright 2018 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 *
5 * Helpers for the minijail0 program. Split out for unittesting.
6 */
7
8#ifndef MINIJAIL_MINIJAIL0_CLI_H_
9#define MINIJAIL_MINIJAIL0_CLI_H_
10
11#include "elfparse.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17struct minijail;
18
19int parse_args(struct minijail *j, int argc, char * const argv[],
20 int *exit_immediately, ElfType *elftype);
21
22#ifdef __cplusplus
23}; /* extern "C" */
24#endif
25
26#endif /* MINIJAIL_MINIJAIL0_CLI_H_ */