1 /* 2 * Copyright 2004-2006, 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 #include <image.h> 11 12 13 struct uspace_program_args; 14 struct real_time_data; 15 16 extern char _single_threaded; 17 /* This determines if a process runs single threaded or not */ 18 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 status_t __parse_invoke_line(char *invoker, char ***_newArgs, 25 char * const **_oldArgs, int32 *_argCount); 26 status_t __get_next_image_dependency(image_id id, uint32 *cookie, 27 const char **_name); 28 status_t __test_executable(const char *path, char *invoker); 29 void __init_env(const struct uspace_program_args *args); 30 void __init_heap(void); 31 32 void __init_time(void); 33 void __arch_init_time(struct real_time_data *data, bool setDefaults); 34 bigtime_t __arch_get_system_time_offset(struct real_time_data *data); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 #endif /* LIBROOT_PRIVATE_H */ 41