launch_daemon: Added stop target ability.
* Before, you had to stop each job by itself.
This commit is contained in:
@@ -26,6 +26,7 @@ namespace BPrivate {
|
||||
enum {
|
||||
B_GET_LAUNCH_DATA = 'lnda',
|
||||
B_LAUNCH_TARGET = 'lntg',
|
||||
B_STOP_LAUNCH_TARGET = 'lnst',
|
||||
B_LAUNCH_JOB = 'lnjo',
|
||||
B_ENABLE_LAUNCH_JOB = 'lnje',
|
||||
B_STOP_LAUNCH_JOB = 'lnsj',
|
||||
|
||||
@@ -33,6 +33,8 @@ public:
|
||||
status_t Target(const char* name,
|
||||
const BMessage* data = NULL,
|
||||
const char* baseName = NULL);
|
||||
status_t StopTarget(const char* name,
|
||||
bool force = false);
|
||||
|
||||
status_t Start(const char* name);
|
||||
status_t Stop(const char* name, bool force = false);
|
||||
|
||||
Reference in New Issue
Block a user