summaryrefslogtreecommitdiff
path: root/psutil/arch/osx/proc.h
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2023-04-19 20:37:32 -0700
committerGiampaolo Rodola <g.rodola@gmail.com>2023-04-19 20:37:32 -0700
commit6e23a5129375ae19abadc0de49f920899b6e765c (patch)
tree0e87534341b794f11968d74f1d718ac467be1ca8 /psutil/arch/osx/proc.h
parentd7552bd1438890bfe16dc6fdf8a62750e5072ebf (diff)
downloadpsutil-osx-move-proc-funcs.tar.gz
OSX C refact: reconstruct _psutil_osx.c to preserve historyosx-move-proc-funcs
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Diffstat (limited to 'psutil/arch/osx/proc.h')
-rw-r--r--psutil/arch/osx/proc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/psutil/arch/osx/proc.h b/psutil/arch/osx/proc.h
new file mode 100644
index 00000000..621f0cad
--- /dev/null
+++ b/psutil/arch/osx/proc.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include <Python.h>
+
+PyObject *psutil_pids(PyObject *self, PyObject *args);
+PyObject *psutil_proc_connections(PyObject *self, PyObject *args);
+PyObject *psutil_proc_cwd(PyObject *self, PyObject *args);
+PyObject *psutil_proc_exe(PyObject *self, PyObject *args);
+PyObject *psutil_proc_kinfo_oneshot(PyObject *self, PyObject *args);
+PyObject *psutil_proc_memory_uss(PyObject *self, PyObject *args);
+PyObject *psutil_proc_name(PyObject *self, PyObject *args);
+PyObject *psutil_proc_num_fds(PyObject *self, PyObject *args);
+PyObject *psutil_proc_open_files(PyObject *self, PyObject *args);
+PyObject *psutil_proc_pidtaskinfo_oneshot(PyObject *self, PyObject *args);
+PyObject *psutil_proc_threads(PyObject *self, PyObject *args);