haiku/headers/private/libroot/launch.h
Axel Dörfler 9d69dc097d libroot: added ability to communicate with the launch_daemon.
* These methods don't really work yet, as BMessage doesn't support
  replying with a KMessage; the request is received, but the reply
  never gets to the target.
2015-07-22 20:40:42 +02:00

30 lines
532 B
C++

/*
* Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _LIBROOT_LAUNCH_H
#define _LIBROOT_LAUNCH_H
#include <LaunchDaemonDefs.h>
#include <OS.h>
#ifdef __cplusplus
namespace BPrivate {
class KMessage;
port_id get_launch_daemon_port();
status_t send_request_to_launch_daemon(KMessage& request, KMessage& reply);
status_t get_launch_data(const char* signature, KMessage& data);
} // namespace BPrivate
#endif // __cplusplus
#endif // _LIBROOT_LAUNCH_H