OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009 The Native Client Authors. All rights reserved. | 2 * Copyright 2009 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "native_client/src/trusted/plugin/srpc/utility.h" | 10 #include "native_client/src/trusted/plugin/utility.h" |
11 | 11 |
12 namespace plugin { | 12 namespace plugin { |
13 | 13 |
14 int gNaClPluginDebugPrintEnabled = -1; | 14 int gNaClPluginDebugPrintEnabled = -1; |
15 | 15 |
16 /* | 16 /* |
17 * Currently only looks for presence of NACL_PLUGIN_DEBUG and returns | 17 * Currently only looks for presence of NACL_PLUGIN_DEBUG and returns |
18 * 0 if absent and 1 if present. In the future we may include notions | 18 * 0 if absent and 1 if present. In the future we may include notions |
19 * of verbosity level. | 19 * of verbosity level. |
20 */ | 20 */ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 return false; | 58 return false; |
59 } | 59 } |
60 } | 60 } |
61 if (NULL != length) { | 61 if (NULL != length) { |
62 *length = pos; | 62 *length = pos; |
63 } | 63 } |
64 return true; | 64 return true; |
65 } | 65 } |
66 | 66 |
67 } // namespace plugin | 67 } // namespace plugin |
OLD | NEW |