|
|
1.1 root 1: /*
2: * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3: *
4: * @APPLE_LICENSE_HEADER_START@
5: *
6: * The contents of this file constitute Original Code as defined in and
7: * are subject to the Apple Public Source License Version 1.1 (the
8: * "License"). You may not use this file except in compliance with the
9: * License. Please obtain a copy of the License at
10: * http://www.apple.com/publicsource and read it before using this file.
11: *
12: * This Original Code and all software distributed under the License are
13: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17: * License for the specific language governing rights and limitations
18: * under the License.
19: *
20: * @APPLE_LICENSE_HEADER_END@
21: */
22: /*
23: * Copyright (c) 1998 Apple Computer, Inc. All rights reserved.
24: *
25: * HISTORY
26: *
27: */
28:
29: /*
30: * Internal definitions used between the iokit user library and
31: * server routines.
32: */
33:
34: #ifndef _IOKIT_IOKITSERVER_H
35: #define _IOKIT_IOKITSERVER_H
36:
37: #include <IOKit/IOTypes.h>
38: #include <IOKit/IOKitKeys.h>
39: #include <IOKit/OSMessageNotification.h>
40:
41: // IOMakeMatching
42: /*!
43: @enum IOMakeMatching
44: @constant kIOServiceMatching
45: @constant kIOBSDNameMatching
46: @constant kIOOFPathMatching
47: */
48: enum {
49: kIOServiceMatching = 100,
50: kIOBSDNameMatching = 101,
51: kIOOFPathMatching = 102,
52: };
53:
54: // IOCatalogueSendData
55: /*!
56: @enum IOCatalogueSendData user-client flags.
57: @constant kIOCatalogAddDrivers Signals a call to the addDrivers function in IOCatalogue.
58: @constant kIOCatalogAddDriversNoMatch Signals a call to the addDrivers function in IOCatalogue but does not start a matching thread.
59: @constant kIOCatalogRemoveDrivers Signals a call to the removeDrivers function in IOCatalogue.
60: @constant kIOCatalogRemoveDriversNoMatch Signals a call to the removedrivers function in IOCatalogue but does not start a matching thread.
61: @constant kIOCatalogStartMatching Signals the IOCatalogue to start an IOService matching thread.
62: */
63: enum {
64: kIOCatalogAddDrivers = 1,
65: kIOCatalogAddDriversNoMatch,
66: kIOCatalogRemoveDrivers,
67: kIOCatalogRemoveDriversNoMatch,
68: kIOCatalogStartMatching,
69: };
70:
71: // IOCatalogueGetData
72: /*!
73: @enum IOCatalogueGetData user-client flags
74: @constant kIOCatalogGetContents Returns a snapshot of the database to the caller.
75: */
76: enum {
77: kIOCatalogGetContents = 1,
78: };
79:
80: // IOCatalogueReset
81: /*!
82: @enum IOCatalogueReset user-client flag
83: @constant kIOCatalogResetDefault Removes all entries from IOCatalogue except those used for booting the system.
84: */
85: enum {
86: kIOCatalogResetDefault = 1,
87: };
88:
89: // IOCatalogueTerminate
90: /*!
91: @enum IOCatalogueTerminate user-client flags.
92: @constant kIOCatalogModuleUnload Terminates all services which depend on a particular module and unloads the module.
93: @constant kIOCatalogModuleTerminate Terminates all services which depend on a particular module but does not unload the module.
94: @constant kIOCatalogServiceTerminate Terminates a particular service by name.
95: */
96: enum {
97: kIOCatalogModuleUnload = 1,
98: kIOCatalogModuleTerminate,
99: kIOCatalogServiceTerminate,
100: };
101:
102: #endif /* ! _IOKIT_IOKITSERVER_H */
103:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.