Get FreeBSD tree to compile again with latest changes.

This commit is contained in:
Hisham Muhammad
2015-03-16 03:13:42 -03:00
parent 40f3391a3c
commit adbfe3c3f1
16 changed files with 333 additions and 26 deletions

View File

@ -12,13 +12,21 @@ in the source distribution for its full text.
#include <kvm.h>
typedef struct CPUData_ {
unsigned long long int totalTime;
unsigned long long int totalPeriod;
} CPUData;
typedef struct FreeBSDProcessList_ {
ProcessList super;
kvm_t* kd;
CPUData* cpus;
} FreeBSDProcessList;
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList);
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
void ProcessList_delete(ProcessList* this);