1/* 2 * CDDL HEADER START 3 * 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. 8 * 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. 13 * 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] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright (c) 1993 by Sun Microsystems, Inc. 24 */ 25 26#ifndef _FW_LIB_H 27#define _FW_LIB_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 31#ifdef __cplusplus 32extern "C" { 33#endif 34 35#ifdef __STDC__ 36 37extern short net_invoke(char _TKFAR *, char _TKFAR *, char _TKFAR *, 38 char _TKFAR *, u_long, u_long, char _TKFAR *, 39 invk_context, Op_arg _TKFAR * _TKFAR *, Op_err _TKFAR * _TKFAR *, ...); 40extern short net_more(u_long, u_long, invk_context, Op_arg _TKFAR * _TKFAR *, 41 Op_err _TKFAR * _TKFAR *); 42extern short net_end(u_long, invk_context, Op_err _TKFAR * _TKFAR *); 43extern Op_arg _TKFAR *net_arg_init(void); 44extern short net_arg_set(char _TKFAR *, ...); 45extern short net_arg_markrow(void); 46extern short net_arg_get(Op_arg _TKFAR *, char _TKFAR *, 47 char _TKFAR * _TKFAR *); 48extern short net_arg_getnext(Op_arg _TKFAR *, char _TKFAR * _TKFAR *, 49 char _TKFAR * _TKFAR *); 50extern short net_arg_nextrow(Op_arg _TKFAR *); 51extern short net_arg_rowstart(Op_arg _TKFAR *); 52extern short net_arg_reset(Op_arg _TKFAR *); 53extern void net_arg_free(Op_arg _TKFAR *); 54extern void net_err_free(Op_err _TKFAR *); 55extern Op_arg _TKFAR *new_Op_arg(void); 56extern void free_Op_arg(Op_arg _TKFAR *); 57extern void free_Op_err(Op_err _TKFAR *); 58extern short append_Op_arg(Op_arg _TKFAR *, char _TKFAR *, char _TKFAR *); 59extern void fw_err_set(Op_err _TKFAR * _TKFAR *, Fw_err, u_long, ...); 60 61#ifdef _WINDOWS 62extern void net_cleanup(void); 63#endif 64 65#else 66 67extern short net_invoke(); 68extern short net_more(); 69extern short net_end(); 70extern Op_arg _TKFAR *net_arg_init(); 71extern short net_arg_set(); 72extern short net_arg_markrow(); 73extern short net_arg_get(); 74extern short net_arg_getnext(); 75extern short net_arg_nextrow(); 76extern short net_arg_rowstart(); 77extern short net_arg_reset(); 78extern void net_arg_free(); 79extern void net_err_free(); 80extern Op_arg _TKFAR *new_Op_arg(); 81extern void free_Op_arg(); 82extern void free_Op_err(); 83extern short append_Op_arg(); 84extern void fw_err_set(); 85 86#ifdef _WINDOWS 87extern void net_cleanup(); 88#endif 89 90#endif /* __STDC__ */ 91 92#ifdef __cplusplus 93} 94#endif 95 96#endif /* !_FW_LIB_H */ 97