diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-19 18:26:01 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-19 18:26:01 +0200 |
commit | caa184349c934958b3673c8d3532c607caa2052a (patch) | |
tree | 43ac0438033ca24b828f223646cc945dfa85b7c8 /psutil/arch/bsd/proc.h | |
parent | 59504a56500a8332f0eb8563178e20f843ff8820 (diff) | |
download | psutil-caa184349c934958b3673c8d3532c607caa2052a.tar.gz |
BSD big refact: move proc funcs in new proc.c file
Diffstat (limited to 'psutil/arch/bsd/proc.h')
-rw-r--r-- | psutil/arch/bsd/proc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/psutil/arch/bsd/proc.h b/psutil/arch/bsd/proc.h new file mode 100644 index 00000000..2ed8e42d --- /dev/null +++ b/psutil/arch/bsd/proc.h @@ -0,0 +1,13 @@ +/* + * 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_environ(PyObject *self, PyObject *args); +PyObject *psutil_proc_name(PyObject *self, PyObject *args); +PyObject *psutil_proc_oneshot_info(PyObject *self, PyObject *args); +PyObject *psutil_proc_open_files(PyObject *self, PyObject *args); |