2015-03-16 09:13:42 +03:00
|
|
|
#ifndef HEADER_FreeBSDProcess
|
|
|
|
#define HEADER_FreeBSDProcess
|
|
|
|
/*
|
|
|
|
htop - FreeBSDProcess.h
|
|
|
|
(C) 2015 Hisham H. Muhammad
|
2021-09-22 12:33:00 +03:00
|
|
|
Released under the GNU GPLv2+, see the COPYING file
|
2015-03-16 09:13:42 +03:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2020-09-19 14:55:23 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
#include "Process.h"
|
|
|
|
#include "Settings.h"
|
|
|
|
|
|
|
|
|
2015-03-16 09:13:42 +03:00
|
|
|
typedef struct FreeBSDProcess_ {
|
|
|
|
Process super;
|
2015-10-19 22:22:54 +03:00
|
|
|
int jid;
|
|
|
|
char* jname;
|
2022-01-15 05:27:53 +03:00
|
|
|
char* emul;
|
2015-03-16 09:13:42 +03:00
|
|
|
} FreeBSDProcess;
|
|
|
|
|
2020-10-13 15:35:30 +03:00
|
|
|
extern const ProcessClass FreeBSDProcess_class;
|
2015-06-07 12:17:46 +03:00
|
|
|
|
2020-12-15 21:44:52 +03:00
|
|
|
extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD];
|
2015-03-16 09:13:42 +03:00
|
|
|
|
2020-10-21 22:26:05 +03:00
|
|
|
Process* FreeBSDProcess_new(const Settings* settings);
|
2015-03-16 09:13:42 +03:00
|
|
|
|
|
|
|
void Process_delete(Object* cast);
|
|
|
|
|
|
|
|
#endif
|