summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/OpenBSD/ProcessList.h
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-13 01:07:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-13 01:11:24 +0200
commitffb5336b8c535f6ef663bdedd494b292931aabfc (patch)
tree455f7296ce4b11f7784cf53d31a055a68254bd51 /ksysguard/ksysguardd/OpenBSD/ProcessList.h
parent3abdbba63981b85cb2deaa8c539b288a5d34d567 (diff)
downloadtdebase-ffb5336b8c535f6ef663bdedd494b292931aabfc.tar.gz
tdebase-ffb5336b8c535f6ef663bdedd494b292931aabfc.zip
Enable process management in ksysguard on openbsd
Diffstat (limited to 'ksysguard/ksysguardd/OpenBSD/ProcessList.h')
-rw-r--r--ksysguard/ksysguardd/OpenBSD/ProcessList.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/ksysguard/ksysguardd/OpenBSD/ProcessList.h b/ksysguard/ksysguardd/OpenBSD/ProcessList.h
new file mode 100644
index 000000000..925c55f5a
--- /dev/null
+++ b/ksysguard/ksysguardd/OpenBSD/ProcessList.h
@@ -0,0 +1,38 @@
+/*
+ KSysGuard, the KDE System Guard
+
+ Copyright (c) 1999 Chris Schlaeger <cs@kde.org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+*/
+
+#ifndef _process_list_h_
+#define _process_list_h_
+
+void initProcessList(struct SensorModul* sm);
+void exitProcessList(void);
+
+int updateProcessList(void);
+
+void printProcessList(const char*);
+void printProcessListInfo(const char*);
+void printProcessCount(const char* cmd);
+void printProcessCountInfo(const char* cmd);
+
+void killProcess(const char* cmd);
+void setPriority(const char* cmd);
+
+#endif