1 /* 2 * sppptun_mod.h - References between sppptun.c and sppptun_mod.c 3 * 4 * Copyright (c) 2000-2001 by Sun Microsystems, Inc. 5 * All rights reserved. 6 */ 7 8 #ifndef _SPPPTUN_MOD_H 9 #define _SPPPTUN_MOD_H 10 11 #pragma ident "%Z%%M% %I% %E% SMI" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 extern struct streamtab sppptun_tab; 18 extern void sppptun_init(void); 19 extern void sppptun_tcl_init(void); 20 extern int sppptun_tcl_fintest(void); 21 extern void sppptun_tcl_fini(void); 22 23 /* 24 * Description strings kept in sppptun.c because we're more interested 25 * in the revision of that module. 26 */ 27 extern const char sppptun_driver_description[]; 28 extern const char sppptun_module_description[]; 29 30 #if 0 31 #define DBGPLUMB(x) cmn_err x 32 #else 33 #define DBGPLUMB(x) ((void) 0) 34 #endif 35 36 #if 0 37 #define DBGENTRY(x) cmn_err x 38 #else 39 #define DBGENTRY(x) ((void) 0) 40 #endif 41 42 #if 0 43 #define DBGERROR(x) cmn_err x 44 #else 45 #define DBGERROR(x) ((void) 0) 46 #endif 47 48 #if 0 49 #define DBGNORMAL(x) cmn_err x 50 #else 51 #define DBGNORMAL(x) ((void) 0) 52 #endif 53 54 #ifdef __cplusplus 55 } 56 #endif 57 58 #endif /* _SPPPTUN_MOD_H */ 59