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
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]
23 * Copyright (c) 1993 by Sun Microsystems, Inc.
29 #pragma ident "%Z%%M% %I% %E% SMI"
39 * Header file for the framework.
46 struct Op_arg_item _TKFAR
*next
;
48 typedef struct Op_arg_item Op_arg_item
;
51 Op_arg_item _TKFAR
*first
;
52 Op_arg_item _TKFAR
*last
;
53 struct Op_row_link _TKFAR
*next
;
55 typedef struct Op_row_link Op_row_link
;
58 Op_row_link _TKFAR
*first
;
59 Op_row_link _TKFAR
*last
;
60 Op_row_link _TKFAR
*curr
;
61 Op_arg_item _TKFAR
*cura
;
65 typedef struct Op_arg Op_arg
;
72 typedef enum Fw_err Fw_err
;
80 typedef struct Op_err Op_err
;
82 typedef char invk_context
[CTXTLEN
];
89 typedef struct invk_result invk_result
;
92 char _TKFAR
*category
;
100 typedef struct invk_request invk_request
;
102 struct more_request
{
103 invk_context context
;
106 typedef struct more_request more_request
;
108 struct kill_request
{
109 invk_context context
;
111 typedef struct kill_request kill_request
;
113 #define FW_KV_DELIM "="
114 #define FW_KV_DELIM_CH '='
115 #define FW_VK_DELIM "\n"
116 #define FW_VK_DELIM_CH '\n';
117 #define FW_INPUT_VERS_VAL 1
118 #define FW_INPUT_VERS_STR "1"
119 #define FW_OUTPUT_VERS_VAL 1
120 #define FW_OUTPUT_VERS_STR "1"
121 #define FW_INPUT_VERS_KEY "_SUNW_AO_INPUT_VERS"
122 #define FW_OUTPUT_VERS_KEY "_SUNW_AO_OUTPUT_VERS"
123 #define FW_ROW_MARKER_KEY "_SUNW_AO_BEGIN_ROW"
124 #define FW_ROW_MARKER FW_ROW_MARKER_KEY FW_KV_DELIM FW_OUTPUT_VERS_STR \
126 #define FW_INPUT_VERS FW_INPUT_VERS_KEY FW_KV_DELIM FW_INPUT_VERS_STR \
128 #define FW_OUTPUT_VERS FW_OUTPUT_VERS_KEY FW_KV_DELIM FW_OUTPUT_VERS_STR \
130 #define FW_ERR_MSG_MAX 2047
131 #define FW_UNIX_USER "UU"
135 #define FW_TIMEOUT -2
137 #define SN_LOCALE_PATH_VAR "_SN_LOCALE_PATH"
138 #define SN_UNAME_VAR "_SN_UNAME"
139 #define SN_UID_VAR "_SN_UID"