Home | History | Annotate | Download | only in snoop
      1  0  stevel /*
      2  0  stevel  * CDDL HEADER START
      3  0  stevel  *
      4  0  stevel  * The contents of this file are subject to the terms of the
      5  0  stevel  * Common Development and Distribution License, Version 1.0 only
      6  0  stevel  * (the "License").  You may not use this file except in compliance
      7  0  stevel  * with the License.
      8  0  stevel  *
      9  0  stevel  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     10  0  stevel  * or http://www.opensolaris.org/os/licensing.
     11  0  stevel  * See the License for the specific language governing permissions
     12  0  stevel  * and limitations under the License.
     13  0  stevel  *
     14  0  stevel  * When distributing Covered Code, include this CDDL HEADER in each
     15  0  stevel  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     16  0  stevel  * If applicable, add the following below this CDDL HEADER, with the
     17  0  stevel  * fields enclosed by brackets "[]" replaced with your own identifying
     18  0  stevel  * information: Portions Copyright [yyyy] [name of copyright owner]
     19  0  stevel  *
     20  0  stevel  * CDDL HEADER END
     21  0  stevel  */
     22  0  stevel /*
     23  0  stevel  * Copyright (c) 1993 by Sun Microsystems, Inc.
     24  0  stevel  */
     25  0  stevel 
     26  0  stevel /*
     27  0  stevel  * This file contains definitions which are only of interest to the actual
     28  0  stevel  * service daemon and client stubs.  Normal framework users will not include
     29  0  stevel  * this file.
     30  0  stevel  */
     31  0  stevel 
     32  0  stevel #ifndef _FW_RPC_H
     33  0  stevel #define	_FW_RPC_H
     34  0  stevel 
     35  0  stevel #pragma ident	"%Z%%M%	%I%	%E% SMI"
     36  0  stevel 
     37  0  stevel #ifdef __cplusplus
     38  0  stevel extern "C" {
     39  0  stevel #endif
     40  0  stevel 
     41  0  stevel #define	FW_NO_CONTEXT	"Plead no context"
     42  0  stevel 
     43  0  stevel #define	FW_PROG ((unsigned long)(150006))
     44  0  stevel #define	FW_VERSION ((unsigned long)(1))
     45  0  stevel 
     46  0  stevel #define	FW_INVOKE ((unsigned long)(1))
     47  0  stevel #define	FW_MORE ((unsigned long)(2))
     48  0  stevel #define	FW_KILL ((unsigned long)(3))
     49  0  stevel 
     50  0  stevel 
     51  0  stevel /* the xdr functions */
     52  0  stevel 
     53  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_Op_arg(XDR _TKFAR *, Op_arg _TKFAR *);
     54  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_Fw_err(XDR _TKFAR *, Fw_err _TKFAR *);
     55  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_Op_err(XDR _TKFAR *, Op_err _TKFAR *);
     56  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_invk_context(XDR _TKFAR *, invk_context);
     57  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_invk_result(XDR _TKFAR *,
     58  0  stevel     invk_result _TKFAR *);
     59  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_invk_request(XDR _TKFAR *,
     60  0  stevel     invk_request _TKFAR *);
     61  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_more_request(XDR _TKFAR *,
     62  0  stevel     more_request _TKFAR *);
     63  0  stevel extern  bool_t _TKFAR _TKPASCAL xdr_kill_request(XDR _TKFAR *,
     64  0  stevel     kill_request _TKFAR *);
     65  0  stevel 
     66  0  stevel #ifdef _WINDOWS
     67  0  stevel extern	void thunk_xdrs(void);
     68  0  stevel extern	void unthunk_xdrs(void);
     69  0  stevel extern	FARPROC lp_xdr_invk_request, lp_xdr_invk_result;
     70  0  stevel extern	FARPROC lp_xdr_more_request, lp_xdr_kill_request;
     71  0  stevel extern	FARPROC lp_xdr_Op_err, lp_xdr_Op_arg;
     72  0  stevel #endif
     73  0  stevel 
     74  0  stevel #ifdef __cplusplus
     75  0  stevel }
     76  0  stevel #endif
     77  0  stevel 
     78  0  stevel #endif /* !_FW_RPC_H */
     79