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

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

Issue 891603002: Removes the name service from the service runtime (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixes code review comments Created 5 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
« no previous file with comments | « SConstruct ('k') | src/public/name_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef _NATIVE_CLIENT_SRC_PUBLIC_IMC_SYSCALLS_H_ 7 #ifndef _NATIVE_CLIENT_SRC_PUBLIC_IMC_SYSCALLS_H_
8 #define _NATIVE_CLIENT_SRC_PUBLIC_IMC_SYSCALLS_H_ 8 #define _NATIVE_CLIENT_SRC_PUBLIC_IMC_SYSCALLS_H_
9 9
10 /* 10 /*
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 * (desc_length) is zero. 101 * (desc_length) is zero.
102 * @param pair An array of two file descriptors for the two ends of the 102 * @param pair An array of two file descriptors for the two ends of the
103 * socket. 103 * socket.
104 * @return On success imc_socketpair returns zero. On failure, it returns -1 104 * @return On success imc_socketpair returns zero. On failure, it returns -1
105 * and sets errno appropriately. 105 * and sets errno appropriately.
106 * The returned descriptor may only be used to transfer data 106 * The returned descriptor may only be used to transfer data
107 * and is itself transferable. 107 * and is itself transferable.
108 */ 108 */
109 extern int imc_socketpair(int pair[2]); 109 extern int imc_socketpair(int pair[2]);
110 110
111 /**
112 * @nacl
113 * Set or get the name service connection capability.
114 *
115 * @param name_desc_in_out If not -1, the name service connection
116 * capability is set to this value; if it is -1, then it is set to the
117 * current connection capability value.
118 */
119 extern int nacl_nameservice(int *name_desc_in_out);
120
121 #ifdef __cplusplus 111 #ifdef __cplusplus
122 } 112 }
123 #endif 113 #endif
124 114
125 #endif 115 #endif
OLDNEW
« no previous file with comments | « SConstruct ('k') | src/public/name_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698