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.
6 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_
7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_
11 extern __thread int g_is_main_thread;
12 extern __thread int g_is_irt_internal_thread;
14 extern uintptr_t g_dynamic_text_start;
16 int irt_nameservice_lookup(const char *name, int oflag, int *out_fd);
18 void irt_reserve_code_allocation(uintptr_t code_begin, size_t code_size);
20 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PRIVATE_H_ */