aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.h
diff options
context:
space:
mode:
authorJason Woodward2005-01-16 23:18:02 +0000
committerJason Woodward2005-01-16 23:18:02 +0000
commit93791e95a1a8cfd3270e93880cfa0cc567d609f2 (patch)
tree375f7f41fa5a9f3f5f491f84ab12fde7b0ca5a47 /src/configuration.h
parent8523d1c37edddcda27b96c77483c19e6469b89f0 (diff)
downloadslapt-get-93791e95a1a8cfd3270e93880cfa0cc567d609f2.tar.gz
changed global_config unsigned integers to bool typedef
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/configuration.h b/src/configuration.h
index cb04fa1..56cba9e 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -36,19 +36,19 @@ struct source_list {
typedef struct {
struct source_list sources;
char working_dir[WORKINGDIR_TOKEN_LEN];
- unsigned int download_only;
- unsigned int dist_upgrade;
- unsigned int simulate;
- unsigned int no_prompt;
+ bool download_only;
+ bool dist_upgrade;
+ bool simulate;
+ bool no_prompt;
unsigned int re_install;
struct exclude_list *exclude_list;
- unsigned int ignore_excludes;
- unsigned int no_md5_check;
- unsigned int ignore_dep;
- unsigned int disable_dep_check;
- unsigned int print_uris;
- unsigned int dl_stats;
- unsigned int remove_obsolete;
+ bool ignore_excludes;
+ bool no_md5_check;
+ bool ignore_dep;
+ bool disable_dep_check;
+ bool print_uris;
+ bool dl_stats;
+ bool remove_obsolete;
} rc_config;
rc_config *read_rc_config(const char *file_name);