xref: /haiku/headers/private/libroot/libroot_private.h (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1 /*
2  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef LIBROOT_PRIVATE_H
6 #define LIBROOT_PRIVATE_H
7 
8 
9 #include <SupportDefs.h>
10 
11 
12 struct uspace_program_args;
13 struct real_time_data;
14 
15 status_t __parse_invoke_line(char *invoker, char ***_newArgs,
16 			char * const **_oldArgs, int32 *_argCount);
17 status_t __test_executable(const char *path, char *invoker);
18 void __init_image(const struct uspace_program_args *args);
19 void __init_dlfcn(const struct uspace_program_args *args);
20 void __init_env(const struct uspace_program_args *args);
21 void __init_heap(void);
22 
23 void __init_time(void);
24 void __arch_init_time(struct real_time_data *data);
25 
26 
27 extern char _single_threaded;
28 	/* This determines if a process runs single threaded or not */
29 
30 
31 #endif	/* LIBROOT_PRIVATE_H */
32