#ifndef DASHBOARD_H
#define DASHBOARD_H

#include <sys/types.h>

#include "src/process/process.h"


typedef struct {
    char *fieldbar;
    int max_x;
    int max_y;
    int prev_x;
    int prev_y;
    proc_t *process_list;
} board_t;    

void print_usage(void);

char set_sort_option(char *opt);

void dashboard_mainloop(char attr_sort);

void get_process_stats(proc_t *process_list, uid_t euid, long memtotal);

#endif

#ifndef DASHBOARD_H
#define DASHBOARD_H

#include <sys/types.h>

#include "src/process/process.h"

#define STAT_PATHMAX 32


typedef struct {
    uid_t euid;
    int max_x;
    int max_y;
    int prev_x;
    int prev_y;
    char path[STAT_PATHMAX];
    char *fieldbar;
    long memtotal;
    proc_t *process_list;
} board_t;    

void print_usage(void);

char set_sort_option(char *opt);

void dashboard_mainloop(char attr_sort);

void get_process_stats(board_t *dashboard);

#endif

Add in path field in board_t
Add in path field in board_t
