1 /* 2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _LIBROOT_LAUNCH_H 6 #define _LIBROOT_LAUNCH_H 7 8 9 #include <LaunchDaemonDefs.h> 10 #include <OS.h> 11 12 13 #ifdef __cplusplus 14 namespace BPrivate { 15 16 17 class KMessage; 18 19 20 port_id get_launch_daemon_port(); 21 status_t send_request_to_launch_daemon(KMessage& request, KMessage& reply); 22 status_t get_launch_data(const char* signature, KMessage& data); 23 24 25 } // namespace BPrivate 26 #endif // __cplusplus 27 28 29 #endif // _LIBROOT_LAUNCH_H 30