1/*
2 * dproto.h - Darwin function prototypes for /dev/kmem-based lsof
3 *
4 * The _PROTOTYPE macro is defined in the common proto.h.
5 */
6
7
8/*
9 * Copyright 1994 Purdue Research Foundation, West Lafayette, Indiana
10 * 47907.  All rights reserved.
11 *
12 * Written by Victor A. Abell
13 *
14 * This software is not subject to any license of the American Telephone
15 * and Telegraph Company or the Regents of the University of California.
16 *
17 * Permission is granted to anyone to use this software for any purpose on
18 * any computer system, and to alter it and redistribute it freely, subject
19 * to the following restrictions:
20 *
21 * 1. Neither the authors nor Purdue University are responsible for any
22 *    consequences of the use of this software.
23 *
24 * 2. The origin of this software must not be misrepresented, either by
25 *    explicit claim or by omission.  Credit to the authors and Purdue
26 *    University must appear in documentation and sources.
27 *
28 * 3. Altered versions must be plainly marked as such, and must not be
29 *    misrepresented as being the original software.
30 *
31 * 4. This notice may not be removed or altered.
32 */
33
34
35/*
36 * $Id: dproto.h,v 1.4 2005/11/01 20:24:51 abe Exp $
37 */
38
39_PROTOTYPE(extern int is_file_named,(char *p, int cd));
40_PROTOTYPE(extern struct l_vfs *readvfs,(KA_T vm));
41
42#if	defined(HASKQUEUE)
43_PROTOTYPE(extern void process_kqueue,(KA_T ka));
44#endif	/* defined(HASKQUEUE) */
45
46#if	defined(HASPIPEFN)
47_PROTOTYPE(extern void process_pipe,(KA_T pa));
48#endif	/* defined(HASPIPEFN) */
49
50#if	defined(HASPSXSEM)
51_PROTOTYPE(extern void process_psxsem,(KA_T pa));
52#endif	/* defined(HASPSXSEM) */
53
54#if	defined(HASPSXSHM)
55_PROTOTYPE(extern void process_psxshm,(KA_T pa));
56#endif	/* defined(HASPSXSHM) */
57
58#if	defined(HAS9660FS)
59_PROTOTYPE(extern int read_iso_node,(struct vnode *v, dev_t *d, int *dd, INODETYPE *ino, long *nl, SZOFFTYPE *sz));
60#endif	/* defined(HAS9660FS) */
61
62_PROTOTYPE(extern void process_socket,(KA_T sa));
63