2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
11 * export.h - definitions for the EXPORT kernel extension
15 * EXPORT kernel extension configuration parameters
18 u_int nsyms
; /* # of symbols */
19 u_int symt_sz
; /* size of symbol table */
20 u_int str_sz
; /* size of string table */
21 caddr_t symtab
; /* user address of symtab */
22 caddr_t strtab
; /* user address of string table */
26 * kernel function import
29 void *(**fpp
) (); /* ^ to ^ to function we import */
30 char *name
; /* ^ to symbol name */
31 #if defined(__XCOFF64__) || defined(AFS_64BIT_KERNEL)
32 u_int64 fdesc
[3]; /* function descriptor storage */
34 u_int fdesc
[3]; /* function descriptor storage */
39 * kernel variable import
42 void *varp
; /* ^ to surrogate variable */
43 char *name
; /* ^ to symbol name */