summaryrefslogtreecommitdiff
path: root/usr/src/lib/libproc/common/libproc.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2012-11-02 09:48:42 -0700
committerGarrett D'Amore <garrett@damore.org>2012-11-02 09:48:42 -0700
commit34bdffbf3e3c188027e767e631f717b10159316d (patch)
tree4d4e8a7b31cd6528275774fd378cdc6ef52661b4 /usr/src/lib/libproc/common/libproc.h
parent70087ad34e224a679eb83e405bf394606ba94c1c (diff)
downloadillumos-gate-34bdffbf3e3c188027e767e631f717b10159316d.tar.gz
3294 pfiles postmortem support
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Eric Schrock <eric.schrock@delphix.com>
Diffstat (limited to 'usr/src/lib/libproc/common/libproc.h')
-rw-r--r--usr/src/lib/libproc/common/libproc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/lib/libproc/common/libproc.h b/usr/src/lib/libproc/common/libproc.h
index b4374324a1..1e59b5089f 100644
--- a/usr/src/lib/libproc/common/libproc.h
+++ b/usr/src/lib/libproc/common/libproc.h
@@ -24,6 +24,7 @@
* Use is subject to license terms.
*
* Portions Copyright 2007 Chad Mynhier
+ * Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
*/
/*
@@ -713,6 +714,12 @@ extern int proc_initstdio(void);
extern int proc_flushstdio(void);
extern int proc_finistdio(void);
+/*
+ * Iterate over all open files.
+ */
+typedef int proc_fdinfo_f(void *, prfdinfo_t *);
+extern int Pfdinfo_iter(struct ps_prochandle *, proc_fdinfo_f *, void *);
+
#ifdef __cplusplus
}
#endif