2017-04-19 14:12:17 +00:00
|
|
|
#ifndef HEADER_DragonFlyBSDProcess
|
|
|
|
#define HEADER_DragonFlyBSDProcess
|
|
|
|
/*
|
|
|
|
htop - dragonflybsd/DragonFlyBSDProcess.h
|
|
|
|
(C) 2015 Hisham H. Muhammad
|
|
|
|
(C) 2017 Diederik de Groot
|
2021-09-22 09:33:00 +00:00
|
|
|
Released under the GNU GPLv2+, see the COPYING file
|
2017-04-19 14:12:17 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2021-05-22 07:24:30 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
#include "Process.h"
|
|
|
|
#include "Settings.h"
|
|
|
|
|
|
|
|
|
2017-04-19 14:12:17 +00:00
|
|
|
typedef struct DragonFlyBSDProcess_ {
|
|
|
|
Process super;
|
|
|
|
int jid;
|
|
|
|
char* jname;
|
|
|
|
} DragonFlyBSDProcess;
|
|
|
|
|
2020-10-13 12:35:30 +00:00
|
|
|
extern const ProcessClass DragonFlyBSDProcess_class;
|
2017-04-19 14:12:17 +00:00
|
|
|
|
2020-12-15 18:44:52 +00:00
|
|
|
extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD];
|
2017-04-19 14:12:17 +00:00
|
|
|
|
2020-10-21 19:26:05 +00:00
|
|
|
Process* DragonFlyBSDProcess_new(const Settings* settings);
|
2017-04-19 14:12:17 +00:00
|
|
|
|
|
|
|
void Process_delete(Object* cast);
|
|
|
|
|
|
|
|
#endif
|