LICK
 All Data Structures Files Functions Variables Enumerations Enumerator
lickdir.h
Go to the documentation of this file.
1 
10 #pragma once
11 
15 typedef struct {
17  char *drive;
19  char *entry;
21  char *res;
23  char *err;
24 } lickdir_t;
25 
37 lickdir_t *new_lickdir(char drive, char *entry, char *res);
42 void free_lickdir(lickdir_t *l);
char * err
error message
Definition: lickdir.h:23
lickdir_t * new_lickdir(char drive, char *entry, char *res)
create a new lickdir_t, with the given attributes
Definition: lickdir.c:12
void free_lickdir(lickdir_t *l)
free the memory a lickdir_t is using
Definition: lickdir.c:23
char * res
path to the directory to store LICK's resource files
Definition: lickdir.h:21
Paths to the LICK directory and its components.
Definition: lickdir.h:15
char * drive
path to the drive the lick directory is on
Definition: lickdir.h:17
lickdir_t * get_lickdir()
returns a suitable LICK directory
Definition: lickdir.c:32
char * entry
path to the directory to store information about installed distributions
Definition: lickdir.h:19