parent
e79f4205ea
commit
0df3f4e2d9
|
@ -9,25 +9,20 @@ typedef struct _E_Fm2_Mount E_Fm2_Mount;
|
|||
struct _E_Storage
|
||||
{
|
||||
int type;
|
||||
char *udi;
|
||||
char *bus;
|
||||
char *udi, *bus;
|
||||
char *drive_type;
|
||||
|
||||
char *model;
|
||||
char *vendor;
|
||||
char *serial;
|
||||
char *model, *vendor, *serial;
|
||||
|
||||
char removable;
|
||||
char media_available;
|
||||
char removable, media_available;
|
||||
unsigned long long media_size;
|
||||
|
||||
char requires_eject;
|
||||
char hotpluggable;
|
||||
char requires_eject, hotpluggable;
|
||||
char media_check_enabled;
|
||||
|
||||
struct {
|
||||
char *drive;
|
||||
char *volume;
|
||||
struct
|
||||
{
|
||||
char *drive, *volume;
|
||||
} icon;
|
||||
|
||||
Eina_List *volumes;
|
||||
|
@ -39,11 +34,8 @@ struct _E_Storage
|
|||
struct _E_Volume
|
||||
{
|
||||
int type;
|
||||
char *udi;
|
||||
char *uuid;
|
||||
char *label;
|
||||
char *icon;
|
||||
char *fstype;
|
||||
char *udi, *uuid;
|
||||
char *label, *icon, *fstype;
|
||||
unsigned long long size;
|
||||
|
||||
char partition;
|
||||
|
@ -120,7 +112,6 @@ _e_storage_free(E_Storage *s)
|
|||
if (s->udi) free(s->udi);
|
||||
if (s->bus) free(s->bus);
|
||||
if (s->drive_type) free(s->drive_type);
|
||||
|
||||
if (s->model) free(s->model);
|
||||
if (s->vendor) free(s->vendor);
|
||||
if (s->serial) free(s->serial);
|
||||
|
|
Loading…
Reference in New Issue