Subversion Repositories SvarDOS

Rev

Rev 237 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 237 Rev 238
Line 6... Line 6...
6
 
6
 
7
#ifndef loadrepolist_sentinel
7
#ifndef loadrepolist_sentinel
8
#define loadrepolist_sentinel
8
#define loadrepolist_sentinel
9
 
9
 
10
struct customdirs {
10
struct customdirs {
11
  char *name;
-
 
12
  char *location;
-
 
13
  struct customdirs *next;
11
  struct customdirs *next;
-
 
12
  char name[9];
-
 
13
  char location[1]; /* extended at alloc time */
14
};
14
};
15
 
15
 
16
/* Loads the list of custom directories from the config file
16
/* Loads the list of custom directories from the config file
17
 * Returns 0 on success, or -1 on failure. */
17
 * Returns 0 on success, or -1 on failure. */
18
int loadconf(const char *dosdir, struct customdirs **dirlist, int *flags);
18
int loadconf(const char *dosdir, struct customdirs **dirlist, int *flags);