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

Side by Side Diff: src/trusted/service_runtime/nacl_command_service.h

Issue 10914138: Split secure command channel and untrusted application channel (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 3 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
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 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_TRUSTED_SERVICE_RUNTIME_NACL_COMMAND_SERVICE_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_COMMAND_SERVICE_H_
9
10 #include "native_client/src/include/nacl_base.h"
11 #include "native_client/src/trusted/service_runtime/sel_ldr.h"
12 #include "native_client/src/trusted/simple_service/nacl_simple_service.h"
13
14 EXTERN_C_BEGIN
15
16 /*
17 * Command channel.
18 */
19
20 struct NaClCommandService {
21 struct NaClSimpleService base;
22 struct NaClApp *nap;
23 };
24
25 int NaClCommandServiceCtor(
26 struct NaClCommandService *self,
27 struct NaClSrpcHandlerDesc const *srpc_handlers,
28 struct NaClApp *nap);
29
30 void NaClCommandServiceDtor(struct NaClRefCount *vself);
31
32 extern struct NaClSimpleServiceVtbl const kNaClCommandServiceVtbl;
33
34 EXTERN_C_END
35
36 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_COMMAND_SERVICE_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698