You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
554 B
24 lines
554 B
#ifndef MY_DEVICE_H
|
|
#define MY_DEVICE_H
|
|
#include "ubl-utils.h"
|
|
#include <locale.h>
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include "philos_utils.h"
|
|
typedef struct {
|
|
char** name_disk;
|
|
char** file_system;
|
|
char** mounted;
|
|
char** type_dick;
|
|
char** description_disk;
|
|
int size_disk;
|
|
} device_config;
|
|
|
|
void device_disk_parsed();
|
|
device_config* get_device_cfg();
|
|
void device_fill_disk(GtkWidget* combo_box_text);
|
|
size_t get_mem_total();
|
|
float get_size_pow_memory(size_t size_memory, int size);
|
|
size_t get_resurs_total(char* cmd);
|
|
|
|
#endif |