diff options
author | Guy M. Broome <thrirhrafnir@gmail.com> | 2018-03-28 12:48:37 -0400 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-05 19:38:13 -0300 |
commit | 45fad05b4a99c016a12fe7875ea749316283df49 (patch) | |
tree | 866945c9f0eec85f637b31445d715c86b8f61719 /solaris/SolarisProcessList.h | |
parent | 4ba06c51e58476ddb7225573db66553ac77aea3e (diff) |
Solaris: get completely out of the file handling business using libproc
Diffstat (limited to 'solaris/SolarisProcessList.h')
-rw-r--r-- | solaris/SolarisProcessList.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/solaris/SolarisProcessList.h b/solaris/SolarisProcessList.h index 4d620ed1..b7c2dc51 100644 --- a/solaris/SolarisProcessList.h +++ b/solaris/SolarisProcessList.h @@ -15,7 +15,6 @@ in the source distribution for its full text. #include <kstat.h> #include <sys/param.h> -#include <zone.h> #include <sys/uio.h> #include <sys/resource.h> #include <sys/sysconf.h> @@ -51,7 +50,9 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, ui void ProcessList_delete(ProcessList* this); -void ProcessList_enumerateLWPs(Process* proc, char* name, ProcessList* pl, struct timeval tv); +void ProcessList_enumerateLWPs(Process* proc, ProcessList* pl, lwpsinfo_t *_lwpsinfo, struct timeval tv); + +int SolarisProcessList_walkproc(psinfo_t *_psinfo, lwpsinfo_t *_lwpsinfo, void *listptr); void ProcessList_goThroughEntries(ProcessList* this); |