summaryrefslogtreecommitdiff
path: root/psutil/arch/windows/sys.h
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2023-04-18 11:16:53 -0700
committerGiampaolo Rodola <g.rodola@gmail.com>2023-04-18 11:16:53 -0700
commit59504a56500a8332f0eb8563178e20f843ff8820 (patch)
treea5b581c24bfdadf875ba6c79f3048a436e27b87c /psutil/arch/windows/sys.h
parent4a327a6183ac2d5d8a812357f239a244f16f8211 (diff)
downloadpsutil-59504a56500a8332f0eb8563178e20f843ff8820.tar.gz
Win, C, refact: move boot_time() and users() in new sys.c
Diffstat (limited to 'psutil/arch/windows/sys.h')
-rw-r--r--psutil/arch/windows/sys.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/psutil/arch/windows/sys.h b/psutil/arch/windows/sys.h
new file mode 100644
index 00000000..344ca21d
--- /dev/null
+++ b/psutil/arch/windows/sys.h
@@ -0,0 +1,10 @@
+/*
+ * 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_boot_time(PyObject *self, PyObject *args);
+PyObject *psutil_users(PyObject *self, PyObject *args);