diff options
author | Nathan Scott <nathans@redhat.com> | 2023-08-31 11:56:43 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-08-31 14:13:16 +1000 |
commit | b74673fe37fd379fc350789e696470556776d815 (patch) | |
tree | cbe4f036962c439f9c07a9c96302f5908f6410b0 /linux/LinuxProcessList.h | |
parent | 214166a049c2a6ac454dbb37b85b04c039a6a17a (diff) |
Rename ProcessList to ProcessTable throughout
Following up with some discusson from a few months back,
where it was proposed that ProcessTable is a better name.
This data structure is definitely not a list ... if it
was one-dimensional it'd be a set, but in practice it has
much more in common with a two-dimensional table.
The Process table is a familiar operating system concept
for many people too so it resonates a little in that way
as well.
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r-- | linux/LinuxProcessList.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h deleted file mode 100644 index 824de482..00000000 --- a/linux/LinuxProcessList.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef HEADER_LinuxProcessList -#define HEADER_LinuxProcessList -/* -htop - LinuxProcessList.h -(C) 2014 Hisham H. Muhammad -Released under the GNU GPLv2+, see the COPYING file -in the source distribution for its full text. -*/ - -#include "config.h" - -#include <stdbool.h> -#include <sys/types.h> - -#include "Hashtable.h" -#include "ProcessList.h" -#include "UsersTable.h" - - -typedef struct TtyDriver_ { - char* path; - unsigned int major; - unsigned int minorFrom; - unsigned int minorTo; -} TtyDriver; - -typedef struct LinuxProcessList_ { - ProcessList super; - - TtyDriver* ttyDrivers; - bool haveSmapsRollup; - bool haveAutogroup; - - #ifdef HAVE_DELAYACCT - struct nl_sock* netlink_socket; - int netlink_family; - #endif -} LinuxProcessList; - -#endif |