Index: third_party/psutil/psutil/arch/osx/process_info.h |
diff --git a/third_party/psutil/psutil/arch/osx/process_info.h b/third_party/psutil/psutil/arch/osx/process_info.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..db93f0646280407b76d0ee0645f0a4fb1a58825d |
--- /dev/null |
+++ b/third_party/psutil/psutil/arch/osx/process_info.h |
@@ -0,0 +1,16 @@ |
+/* |
+ * $Id: process_info.h 760 2010-10-30 17:41:07Z g.rodola $ |
+ * |
+ * Helper functions related to fetching process information. Used by _psutil_osx |
+ * module methods. |
+ */ |
+ |
+#include <Python.h> |
+ |
+ |
+typedef struct kinfo_proc kinfo_proc; |
+ |
+int get_proc_list(kinfo_proc **procList, size_t *procCount); |
+int getcmdargs(long pid, PyObject **exec_path, PyObject **envlist, PyObject **arglist); |
+PyObject* get_arg_list(long pid); |
+int get_kinfo_proc(pid_t pid, struct kinfo_proc *kp); |