Edgeless RT  0.2.0
ert_args.h
Go to the documentation of this file.
1 // Copyright (c) Edgeless Systems GmbH.
2 // Licensed under the MIT License.
3 
7 #pragma once
8 
9 #include <openenclave/bits/defs.h>
10 
11 typedef struct _ert_args
12 {
13  int argc; // number of elements in argv
14  const char* const* argv;
15  int envc; // number of elements in envp
16  const char* const* envp;
17  int auxc; // number of key-value-pairs in auxv
18  const long* auxv; // -> 2*auxv elements
19 } ert_args_t;
20 
21 OE_EXTERNC_BEGIN
22 
33 
34 int ert_get_argc(void);
35 char** ert_get_argv(void);
36 char** ert_get_envp(void);
37 
38 OE_EXTERNC_END
Definition: ert_args.h:11
ert_args_t ert_get_args(void)
Provide args for the enclave.