]> git.saurik.com Git - apple/xnu.git/blame - osfmk/UserNotification/UNDTypes.defs
xnu-344.49.tar.gz
[apple/xnu.git] / osfmk / UserNotification / UNDTypes.defs
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
43866e37
A
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
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,
43866e37
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.
22 *
1c79356b
A
23 * @APPLE_LICENSE_HEADER_END@
24 */
25
26#ifndef _USERNOTIFICATION_UNDTYPES_DEFS_
27#define _USERNOTIFICATION_UNDTYPES_DEFS_
28
29#include <mach/std_types.defs>
30
31/*
32 * UserNotification message types
33*/
34
35type UNDMessage = c_string[*:1024];
36type UNDLabel = c_string[*:128];
37
38type UNDKey = c_string[*:128];
39type UNDPath = c_string[*:1024];
40
41type UNDXMLDict = c_string[*:2048];
42
43/*
44 * serialized XML data
45 */
46type xmlData = ^ array [] of MACH_MSG_TYPE_BYTE
47 ctype : xmlData_t;
48
49
50type UNDServerRef = mach_port_t;
51
52type UNDReplyRef = mach_port_t
53#if KERNEL_SERVER
54 intran: UNDReplyRef convert_port_to_UNDReply(mach_port_t)
55#endif /* KERNEL_SERVER */
56#if KERNEL_USER
57 ctype: mach_port_t
58#endif /* KERNEL_USER */
59 ;
60
61import <UserNotification/UNDTypes.h>;
62
63#endif /* _USERNOTIFICATION_UNDTYPES_DEFS_ */