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

Side by Side Diff: src/public/nacl_app.h

Issue 153453002: Expose NaClAppSetDesc() to Chromium for use at startup (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase and fix Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/public/chrome_main.h ('k') | src/trusted/service_runtime/sel_ldr.h » ('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 NATIVE_CLIENT_SRC_PUBLIC_NACL_APP_H_
8 #define NATIVE_CLIENT_SRC_PUBLIC_NACL_APP_H_
9
10 #include "native_client/src/include/nacl_base.h"
11
12 EXTERN_C_BEGIN
13
14 struct NaClApp;
15 struct NaClDesc;
16
17 /* Creates and returns a newly-initialized NaClApp. */
18 struct NaClApp *NaClAppCreate(void);
19
20 /*
21 * Sets entry number |fd| in the NaClApp's descriptor table to |desc|,
22 * removing any existing entry under |fd|. Note that this takes
23 * ownership of |desc|.
24 */
25 void NaClAppSetDesc(struct NaClApp *nap, int fd, struct NaClDesc *desc);
26
27 EXTERN_C_END
28
29 #endif
OLDNEW
« no previous file with comments | « src/public/chrome_main.h ('k') | src/trusted/service_runtime/sel_ldr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698