aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.h
diff options
context:
space:
mode:
authorJason Woodward2004-11-27 03:06:22 +0000
committerJason Woodward2004-11-27 03:06:22 +0000
commita10bd8d7a1b62487b51292f3799bd29268bb1657 (patch)
tree59a86d9733d28e836487ed10acc80f5c5d3e59d5 /src/configuration.h
parent863b6711d39593938d54f7b615b2b70e75a55871 (diff)
downloadslapt-get-a10bd8d7a1b62487b51292f3799bd29268bb1657.tar.gz
redifined typedefs, and changed transaction to transaction_t
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/configuration.h b/src/configuration.h
index e677f86..7cd8ce1 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -33,7 +33,7 @@ struct source_list {
int count;
};
-struct _configuration {
+typedef struct {
struct source_list sources;
char working_dir[WORKINGDIR_TOKEN_LEN];
int download_only;
@@ -48,8 +48,7 @@ struct _configuration {
int disable_dep_check;
int print_uris;
int dl_stats;
-};
-typedef struct _configuration rc_config;
+} rc_config;
rc_config *read_rc_config(const char *file_name);
void working_dir_init(const rc_config *global_config);