]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
d7e50217 | 6 | * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. |
1c79356b | 7 | * |
d7e50217 A |
8 | * This file contains Original Code and/or Modifications of Original Code |
9 | * as defined in and that are subject to the Apple Public Source License | |
10 | * Version 2.0 (the 'License'). You may not use this file except in | |
11 | * compliance with the License. Please obtain a copy of the License at | |
12 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
13 | * file. | |
14 | * | |
15 | * The Original Code and all software distributed under the License are | |
16 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
1c79356b A |
17 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
18 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
d7e50217 A |
19 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
20 | * Please see the License for the specific language governing rights and | |
21 | * limitations under the License. | |
1c79356b A |
22 | * |
23 | * @APPLE_LICENSE_HEADER_END@ | |
24 | */ | |
25 | /* | |
26 | * @OSF_COPYRIGHT@ | |
27 | */ | |
28 | /* | |
29 | * File: clock_types.defs | |
30 | * Purpose: | |
31 | * Clock kernel interface type declarations | |
32 | */ | |
33 | ||
34 | #ifndef _MACH_CLOCK_TYPES_DEFS_ | |
35 | #define _MACH_CLOCK_TYPES_DEFS_ | |
36 | ||
37 | #include <mach/std_types.defs> | |
38 | ||
39 | type clock_serv_t = mach_port_t | |
40 | ctype: clock_serv_t | |
41 | #if KERNEL_SERVER | |
42 | intran: clock_serv_t convert_port_to_clock(mach_port_t) | |
43 | outtran: mach_port_t convert_clock_to_port(clock_serv_t) | |
44 | #endif /* KERNEL_SERVER */ | |
45 | ; | |
46 | ||
47 | type clock_ctrl_t = mach_port_t | |
48 | ctype: clock_ctrl_t | |
49 | #if KERNEL_SERVER | |
50 | intran: clock_ctrl_t convert_port_to_clock_ctrl(mach_port_t) | |
51 | outtran: mach_port_t convert_clock_ctrl_to_port(clock_ctrl_t) | |
52 | #endif /* KERNEL_SERVER */ | |
53 | ; | |
54 | ||
55 | type clock_reply_t = polymorphic|MACH_MSG_TYPE_MAKE_SEND_ONCE; | |
56 | ||
57 | type clock_flavor_t = int; | |
58 | type clock_attr_t = array[*:1] of int; | |
59 | type mach_timespec_t = struct[2] of int; | |
60 | type time_t = int; | |
61 | type sleep_type_t = int; | |
62 | type alarm_type_t = int; | |
63 | type clock_res_t = int; | |
64 | type clock_id_t = int; | |
65 | ||
66 | import <mach/mach_types.h>; | |
67 | ||
68 | #endif /* _MACH_CLOCK_TYPES_DEFS_ */ |