Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/openlaunchd
Path: blob/master/SystemStarter/IPC.h
374 views
1
/**
2
* IPC.h - System Starter IPC routines
3
* Wilfredo Sanchez | [email protected]
4
* Kevin Van Vechten | [email protected]
5
* $Apple$
6
**
7
* Copyright (c) 1999-2001 Apple Computer, Inc. All rights reserved.
8
*
9
* @APPLE_APACHE_LICENSE_HEADER_START@
10
*
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
* you may not use this file except in compliance with the License.
13
* You may obtain a copy of the License at
14
*
15
* http://www.apache.org/licenses/LICENSE-2.0
16
*
17
* Unless required by applicable law or agreed to in writing, software
18
* distributed under the License is distributed on an "AS IS" BASIS,
19
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
* See the License for the specific language governing permissions and
21
* limitations under the License.
22
*
23
* @APPLE_APACHE_LICENSE_HEADER_END@
24
**/
25
26
#ifndef _IPC_H_
27
#define _IPC_H_
28
29
#include "SystemStarter.h"
30
31
/**
32
* Monitor a startup item task. Creates a mach port and uses the
33
* invalidation callback to notify system starter when the process
34
* terminates.
35
**/
36
void MonitorStartupItem (StartupContext aStartupContext, CFMutableDictionaryRef anItem);
37
38
#endif /* _IPC_H_ */
39
40