launch_daemon: actually launch the jobs.

* BRoster::Launch() cannot be used (yet), as it pre-registers the
  application we're launching, and that won't work for the registrar or
  anything else until the registrar is up and running.
* Renamed B_GET_LAUNCH_CONNECTIONS to B_GET_LAUNCH_DATA.
* Add the team ID to the get-launch-data reply.
* Added BLaunchRoster::GetPort() for convenience.
* Removed some superfluous debug output, but temporarily dump all stdio
  to /dev/dprintf (ie. the syslog).
* Made job matching case insensitive (as MIME types should be).
This commit is contained in:
Axel Dörfler
2015-07-22 20:40:01 +02:00
parent e489a80da0
commit d482c7ca5b
5 changed files with 88 additions and 26 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ namespace BPrivate {
// message constants
enum {
B_GET_LAUNCH_CONNECTIONS = 'lncc',
B_GET_LAUNCH_DATA = 'lncd',
};
+2
View File
@@ -17,6 +17,8 @@ public:
status_t InitCheck() const;
status_t GetData(const char* signature, BMessage& data);
port_id GetPort(const char* signature,
const char* name = NULL);
private:
void _InitMessenger();