dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.sbin / snoop / fw_rpc.h
blobb44f3cdcac7c664478e3015ead4efdfcaf8de795
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 (c) 1993 by Sun Microsystems, Inc.
27 * This file contains definitions which are only of interest to the actual
28 * service daemon and client stubs. Normal framework users will not include
29 * this file.
32 #ifndef _FW_RPC_H
33 #define _FW_RPC_H
35 #pragma ident "%Z%%M% %I% %E% SMI"
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
41 #define FW_NO_CONTEXT "Plead no context"
43 #define FW_PROG ((unsigned long)(150006))
44 #define FW_VERSION ((unsigned long)(1))
46 #define FW_INVOKE ((unsigned long)(1))
47 #define FW_MORE ((unsigned long)(2))
48 #define FW_KILL ((unsigned long)(3))
51 /* the xdr functions */
53 extern bool_t _TKFAR _TKPASCAL xdr_Op_arg(XDR _TKFAR *, Op_arg _TKFAR *);
54 extern bool_t _TKFAR _TKPASCAL xdr_Fw_err(XDR _TKFAR *, Fw_err _TKFAR *);
55 extern bool_t _TKFAR _TKPASCAL xdr_Op_err(XDR _TKFAR *, Op_err _TKFAR *);
56 extern bool_t _TKFAR _TKPASCAL xdr_invk_context(XDR _TKFAR *, invk_context);
57 extern bool_t _TKFAR _TKPASCAL xdr_invk_result(XDR _TKFAR *,
58 invk_result _TKFAR *);
59 extern bool_t _TKFAR _TKPASCAL xdr_invk_request(XDR _TKFAR *,
60 invk_request _TKFAR *);
61 extern bool_t _TKFAR _TKPASCAL xdr_more_request(XDR _TKFAR *,
62 more_request _TKFAR *);
63 extern bool_t _TKFAR _TKPASCAL xdr_kill_request(XDR _TKFAR *,
64 kill_request _TKFAR *);
66 #ifdef _WINDOWS
67 extern void thunk_xdrs(void);
68 extern void unthunk_xdrs(void);
69 extern FARPROC lp_xdr_invk_request, lp_xdr_invk_result;
70 extern FARPROC lp_xdr_more_request, lp_xdr_kill_request;
71 extern FARPROC lp_xdr_Op_err, lp_xdr_Op_arg;
72 #endif
74 #ifdef __cplusplus
76 #endif
78 #endif /* !_FW_RPC_H */