aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/Platform.h')
-rw-r--r--openbsd/Platform.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/openbsd/Platform.h b/openbsd/Platform.h
index 27d792e..339616c 100644
--- a/openbsd/Platform.h
+++ b/openbsd/Platform.h
@@ -47,7 +47,7 @@ int Platform_getUptime(void);
void Platform_getLoadAverage(double* one, double* five, double* fifteen);
-int Platform_getMaxPid(void);
+pid_t Platform_getMaxPid(void);
double Platform_setCPUValues(Meter* this, unsigned int cpu);
@@ -59,6 +59,8 @@ char* Platform_getProcessEnv(pid_t pid);
FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid);
+void Platform_getFileDescriptors(double* used, double* max);
+
bool Platform_getDiskIO(DiskIOData* data);
bool Platform_getNetworkIO(NetworkIOData* data);
@@ -107,7 +109,7 @@ static inline Hashtable* Platform_dynamicColumns(void) {
static inline void Platform_dynamicColumnsDone(ATTR_UNUSED Hashtable* table) { }
-static inline const char* Platform_dynamicColumnInit(ATTR_UNUSED unsigned int key) {
+static inline const char* Platform_dynamicColumnName(ATTR_UNUSED unsigned int key) {
return NULL;
}
@@ -115,4 +117,16 @@ static inline bool Platform_dynamicColumnWriteField(ATTR_UNUSED const Process* p
return false;
}
+static inline Hashtable* Platform_dynamicScreens(void) {
+ return NULL;
+}
+
+static inline void Platform_defaultDynamicScreens(ATTR_UNUSED Settings* settings) { }
+
+static inline void Platform_addDynamicScreen(ATTR_UNUSED ScreenSettings* ss) { }
+
+static inline void Platform_addDynamicScreenAvailableColumns(ATTR_UNUSED Panel* availableColumns, ATTR_UNUSED const char* screen) { }
+
+static inline void Platform_dynamicScreensDone(ATTR_UNUSED Hashtable* screens) { }
+
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy