Index: third_party/psutil/psutil/arch/bsd/process_info.h |
diff --git a/third_party/psutil/psutil/arch/bsd/process_info.h b/third_party/psutil/psutil/arch/bsd/process_info.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d72e69c1de8810ddfbf83d2c95b806b74f24df11 |
--- /dev/null |
+++ b/third_party/psutil/psutil/arch/bsd/process_info.h |
@@ -0,0 +1,16 @@ |
+/* |
+ * $Id: process_info.h 213 2009-03-05 15:48:22Z jloden $ |
+ * |
+ * Helper functions related to fetching process information. Used by _psutil_bsd |
+ * module methods. |
+ */ |
+ |
+#include <Python.h> |
+ |
+typedef struct kinfo_proc kinfo_proc; |
+ |
+int get_proc_list(struct kinfo_proc **procList, size_t *procCount); |
+char *getcmdargs(long pid, size_t *argsize); |
+char *getcmdpath(long pid, size_t *pathsize); |
+PyObject* get_arg_list(long pid); |
+ |