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:
@@ -24,7 +24,7 @@ namespace BPrivate {
|
||||
|
||||
// message constants
|
||||
enum {
|
||||
B_GET_LAUNCH_CONNECTIONS = 'lncc',
|
||||
B_GET_LAUNCH_DATA = 'lncd',
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user