forked from enlightenment/enlightenment
parent
e79f4205ea
commit
0df3f4e2d9
|
@ -9,26 +9,21 @@ typedef struct _E_Fm2_Mount E_Fm2_Mount;
|
||||||
struct _E_Storage
|
struct _E_Storage
|
||||||
{
|
{
|
||||||
int type;
|
int type;
|
||||||
char *udi;
|
char *udi, *bus;
|
||||||
char *bus;
|
|
||||||
char *drive_type;
|
char *drive_type;
|
||||||
|
|
||||||
char *model;
|
char *model, *vendor, *serial;
|
||||||
char *vendor;
|
|
||||||
char *serial;
|
|
||||||
|
|
||||||
char removable;
|
char removable, media_available;
|
||||||
char media_available;
|
|
||||||
unsigned long long media_size;
|
unsigned long long media_size;
|
||||||
|
|
||||||
char requires_eject;
|
char requires_eject, hotpluggable;
|
||||||
char hotpluggable;
|
|
||||||
char media_check_enabled;
|
char media_check_enabled;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
char *drive;
|
{
|
||||||
char *volume;
|
char *drive, *volume;
|
||||||
} icon;
|
} icon;
|
||||||
|
|
||||||
Eina_List *volumes;
|
Eina_List *volumes;
|
||||||
|
|
||||||
|
@ -39,17 +34,14 @@ struct _E_Storage
|
||||||
struct _E_Volume
|
struct _E_Volume
|
||||||
{
|
{
|
||||||
int type;
|
int type;
|
||||||
char *udi;
|
char *udi, *uuid;
|
||||||
char *uuid;
|
char *label, *icon, *fstype;
|
||||||
char *label;
|
|
||||||
char *icon;
|
|
||||||
char *fstype;
|
|
||||||
unsigned long long size;
|
unsigned long long size;
|
||||||
|
|
||||||
char partition;
|
char partition;
|
||||||
int partition_number;
|
int partition_number;
|
||||||
char *partition_label;
|
char *partition_label;
|
||||||
char mounted;
|
char mounted;
|
||||||
char *mount_point;
|
char *mount_point;
|
||||||
|
|
||||||
char *parent;
|
char *parent;
|
||||||
|
@ -67,14 +59,14 @@ struct _E_Volume
|
||||||
|
|
||||||
struct _E_Fm2_Mount
|
struct _E_Fm2_Mount
|
||||||
{
|
{
|
||||||
const char *udi;
|
const char *udi;
|
||||||
const char *mount_point;
|
const char *mount_point;
|
||||||
|
|
||||||
void (*mount_ok) (void *data);
|
void (*mount_ok) (void *data);
|
||||||
void (*mount_fail) (void *data);
|
void (*mount_fail) (void *data);
|
||||||
void (*unmount_ok) (void *data);
|
void (*unmount_ok) (void *data);
|
||||||
void (*unmount_fail) (void *data);
|
void (*unmount_fail) (void *data);
|
||||||
void *data;
|
void *data;
|
||||||
|
|
||||||
E_Volume *volume;
|
E_Volume *volume;
|
||||||
|
|
||||||
|
@ -120,7 +112,6 @@ _e_storage_free(E_Storage *s)
|
||||||
if (s->udi) free(s->udi);
|
if (s->udi) free(s->udi);
|
||||||
if (s->bus) free(s->bus);
|
if (s->bus) free(s->bus);
|
||||||
if (s->drive_type) free(s->drive_type);
|
if (s->drive_type) free(s->drive_type);
|
||||||
|
|
||||||
if (s->model) free(s->model);
|
if (s->model) free(s->model);
|
||||||
if (s->vendor) free(s->vendor);
|
if (s->vendor) free(s->vendor);
|
||||||
if (s->serial) free(s->serial);
|
if (s->serial) free(s->serial);
|
||||||
|
|
Loading…
Reference in New Issue