6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / uts / common / ipp / ippctl.h
blob7b04e55a0cea9185f890d66ae703fd76bb89f594
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _IPP_IPPCTL_H
28 #define _IPP_IPPCTL_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
33 * Header file for the IPP Policy Framework Configuration Driver
35 * WARNING: Everything in this file is private, belonging to the IPP
36 * subsystem. The interfaces and declarations made here are subject
37 * to change.
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
45 * nvpair keys
48 #define IPPCTL_OP "ippctl.op"
49 #define IPPCTL_MODNAME "ippctl.modname"
50 #define IPPCTL_MODNAME_ARRAY "ippctl.modname_array"
51 #define IPPCTL_ANAME "ippctl.aname"
52 #define IPPCTL_ANAME_ARRAY "ippctl.aname_array"
53 #define IPPCTL_FLAGS "ippctl.flags"
54 #define IPPCTL_RC "ippctl.rc"
57 * ioctl values
60 #define IPPCTL_BASE ('I' << 24 | 'P' << 16 | 'P' << 8)
62 #define IPPCTL_CMD (IPPCTL_BASE | 0x01)
63 #define IPPCTL_DATA (IPPCTL_BASE | 0x02)
66 * op values
69 #define IPPCTL_OP_ACTION_CREATE 0x00
70 #define IPPCTL_OP_ACTION_MODIFY 0x01
71 #define IPPCTL_OP_ACTION_DESTROY 0x02
72 #define IPPCTL_OP_ACTION_INFO 0x03
73 #define IPPCTL_OP_ACTION_MOD 0x04
74 #define IPPCTL_OP_LIST_MODS 0x05
75 #define IPPCTL_OP_MOD_LIST_ACTIONS 0x06
78 * ioctl structure
81 typedef struct ippctl_ioctl {
82 caddr_t ii_buf;
83 size_t ii_buflen;
84 } ippctl_ioctl_t;
86 #ifdef _SYSCALL32
87 typedef struct ippctl_ioctl32 {
88 caddr32_t ii32_buf;
89 size32_t ii32_buflen;
90 } ippctl_ioctl32_t;
91 #endif /* _SYSCALL32 */
93 #ifdef __cplusplus
95 #endif
97 #endif /* _IPP_IPPCTL_H */