1 /*
2  * Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6 
7 #include <Python.h>
8 
9 // process
10 
11 static PyObject* psutil_proc_cpu_affinity_get(PyObject* self, PyObject* args);
12 static PyObject* psutil_proc_cpu_affinity_set(PyObject* self, PyObject* args);
13 static PyObject* psutil_proc_ioprio_get(PyObject* self, PyObject* args);
14 static PyObject* psutil_proc_ioprio_get(PyObject* self, PyObject* args);
15 
16 // system
17 
18 static PyObject* psutil_disk_partitions(PyObject* self, PyObject* args);
19 static PyObject* psutil_linux_sysinfo(PyObject* self, PyObject* args);
20 static PyObject* psutil_users(PyObject* self, PyObject* args);
21 static PyObject* psutil_net_if_stats(PyObject* self, PyObject* args);
22