info about a drive
Definition: drives.h:31
A linked list node.
Definition: llist.h:19
a CD drive
Definition: drives.h:25
void free_drive(drive_t *drive)
free a drive structure
Definition: drives.c:13
an internal hard drive
Definition: drives.h:19
node_t * all_drives()
return a list of all drives in the system
Definition: drives.c:83
drive_type_e
Definition: drives.h:13
char * path
the path to the root of a drive
Definition: drives.h:33
an unused drive letter
Definition: drives.h:17
int is_lick_drive(drive_t *drive)
determines if a drive has LICK installed on it
an external hard drive, USB, etc.
Definition: drives.h:21
char * unused_drive()
return an unused drive path
Definition: drives.c:87
drive_type_e drive_type(char *path)
determines the type of a drive
Definition: drives.c:79
drive_type_e type
the type of drive
Definition: drives.h:35
a network drive
Definition: drives.h:23
void free_drive_list(node_t *lst)
free a list of drive structures
Definition: drives.c:18
other
Definition: drives.h:15