Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: ports/nacl-spawn/nacl_main.h

Issue 627103003: Add shared library version of libcli_main Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/nacl-spawn/library_dependencies.h ('k') | ports/nacl-spawn/nacl_spawn.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef _NACL_SPAWN_NACL_MAIN_H_
8 #define _NACL_SPAWN_NACL_MAIN_H_
9
10 #include <spawn.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 /*
17 * Entry point expected by libcli_main.a
18 */
19 extern int nacl_main(int argc, char* argv[]);
20
21 /*
22 * Untar a startup bundle to a particular root.
23 *
24 * NOTE: This lives in libcli_main.a
25 * Args:
26 * arg0: The contents of argv[0], used to determine relative tar location.
27 * tarfile: The name of a tarfile to extract.
28 * root: The absolute path to extract the startup tar file to.
29 */
30 extern int nacl_startup_untar(
31 const char* argv0, const char* tarfile, const char* root);
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif
OLDNEW
« no previous file with comments | « ports/nacl-spawn/library_dependencies.h ('k') | ports/nacl-spawn/nacl_spawn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698