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

Side by Side Diff: ports/nacl-spawn/path_util.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/nacl_spawn.cc ('k') | ports/nacl-spawn/spawn.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 // Copyright (c) 2014 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NACL_SPAWN_PATH_UTIL_
6 #define NACL_SPAWN_PATH_UTIL_
7
8 #include <string>
9 #include <vector>
10
11 // Parses path environment variables such as PATH or LD_LIBRARY_PATH.
12 void GetPaths(const char* env, std::vector<std::string>* paths);
13
14 // Gets a file for the specified basename in paths. Returns true on
15 // success and out_path will be updated. On failure, this function
16 // returns false and out_path will not be updated.
17 bool GetFileInPaths(const std::string& basename,
18 const std::vector<std::string>& paths,
19 std::string* out_path);
20
21 #endif // NACL_SPAWN_PATH_UTIL_
OLDNEW
« no previous file with comments | « ports/nacl-spawn/nacl_spawn.cc ('k') | ports/nacl-spawn/spawn.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698