Top/ps process monitor
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.

35 lines
604 B

#ifndef __FILESYSTEMS_H__
#define __FILESYSTEMS_H__
4 years ago
#include <Eina.h>
typedef struct {
unsigned long long total;
unsigned long long used;
} _Usage;
typedef struct _Filesystem_Info {
char *path;
char *mount;
char *type_name;
unsigned int type;
_Usage usage;
} Filesystem_Info;
const char *
filesystem_name_by_id(unsigned int id);
unsigned int
filesystem_id_by_name(const char *name);
Filesystem_Info *
filesystem_info_get(const char *path);
void
filesystem_info_free(Filesystem_Info *fs);
4 years ago
Eina_Bool
filesystem_in_use(const char *name);
#endif