diff options
author | Daniel Lange <DLange@git.local> | 2020-12-07 10:26:02 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-12-07 10:26:02 +0100 |
commit | d67ee86091f9e07f8d85c1fb77c7c58989e676bb (patch) | |
tree | 900f5e62bfd8e8c082be75a94f5348dea819beba /darwin/DarwinProcessList.h | |
parent | 3cbc50cde37fee19ce98ee8260b0a6095b829c4c (diff) | |
parent | 65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff) | |
download | debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.gz debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.bz2 debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.zip |
Update upstream source from tag 'upstream/3.0.3'
Update to upstream version '3.0.3'
with Debian dir 8a3a733dc80e45b1cde220f88fcfd815869742f0
Diffstat (limited to 'darwin/DarwinProcessList.h')
-rw-r--r-- | darwin/DarwinProcessList.h | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/darwin/DarwinProcessList.h b/darwin/DarwinProcessList.h index c6b2966..1ae2f2b 100644 --- a/darwin/DarwinProcessList.h +++ b/darwin/DarwinProcessList.h @@ -3,25 +3,16 @@ /* htop - DarwinProcessList.h (C) 2014 Hisham H. Muhammad -Released under the GNU GPL, see the COPYING file +Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -struct kern; - -void GetKernelVersion(struct kern *k); - -/* compare the given os version with the one installed returns: -0 if equals the installed version -positive value if less than the installed version -negative value if more than the installed version -*/ -int CompareKernelVersion(short int major, short int minor, short int component); +#include <mach/mach_host.h> +#include <sys/sysctl.h> #include "ProcessList.h" #include "zfs/ZfsArcStats.h" -#include <mach/mach_host.h> -#include <sys/sysctl.h> + typedef struct DarwinProcessList_ { ProcessList super; @@ -37,20 +28,10 @@ typedef struct DarwinProcessList_ { ZfsArcStats zfs; } DarwinProcessList; -void ProcessList_getHostInfo(host_basic_info_data_t *p); - -void ProcessList_freeCPULoadInfo(processor_cpu_load_info_t *p); - -unsigned ProcessList_allocateCPULoadInfo(processor_cpu_load_info_t *p); - -void ProcessList_getVMStats(vm_statistics_t p); - -struct kinfo_proc *ProcessList_getKInfoProcs(size_t *count); - ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId); void ProcessList_delete(ProcessList* this); -void ProcessList_goThroughEntries(ProcessList* super); +void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate); #endif |