| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_STRING_ENCODING_H_ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_STRING_ENCODING_H_ |
| 8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_STRING_ENCODING_H_ | 8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_STRING_ENCODING_H_ |
| 9 | 9 |
| 10 #include <stdlib.h> | 10 #include <stdlib.h> |
| 11 | 11 |
| 12 namespace plugin { | 12 namespace plugin { |
| 13 | 13 |
| 14 bool ByteStringAsUTF8(const char* input, size_t input_byte_count, | 14 bool ByteStringAsUTF8(const char* input, size_t input_byte_count, |
| 15 char** result, size_t* result_byte_count); | 15 char** result, size_t* result_byte_count); |
| 16 bool ByteStringFromUTF8(const char* input, size_t input_byte_count, | 16 bool ByteStringFromUTF8(const char* input, size_t input_byte_count, |
| 17 char** result, size_t* result_byte_count); | 17 char** result, size_t* result_byte_count); |
| 18 | 18 |
| 19 } | 19 } |
| 20 | 20 |
| 21 #endif | 21 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_STRING_ENCODING_H_ |
| OLD | NEW |