Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / irt / irt_private.h
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 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_
7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_
8
9 #include <stdint.h>
10
11 extern __thread int g_is_main_thread;
12 extern __thread int g_is_irt_internal_thread;
13
14 extern uintptr_t g_dynamic_text_start;
15
16 int irt_nameservice_lookup(const char *name, int oflag, int *out_fd);
17
18 void irt_reserve_code_allocation(uintptr_t code_begin, size_t code_size);
19
20 #endif  /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_ */