aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.h
diff options
context:
space:
mode:
authorJason Woodward2003-10-13 18:37:02 +0000
committerJason Woodward2003-10-13 18:37:02 +0000
commit343b761719210bd4aac1af22af21b074abd75de4 (patch)
tree423ee9a46e1e3739fe28b9383eedf1b420ec520d /src/configuration.h
parentd0554df88d045b40f1f5695188285e64ea665e3d (diff)
downloadslapt-get-343b761719210bd4aac1af22af21b074abd75de4.tar.gz
multiple source support complete. Linuxpackage integration should be working. slapt-getrc syntax has changed. Updated documentation appropriately.
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 1cc22f7..244c7be 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define MIRROR_TOKEN "MIRROR="
+#define SOURCE_TOKEN "SOURCE="
#define WORKINGDIR_TOKEN "WORKINGDIR="
#define EXCLUDE_TOKEN "EXCLUDE="
@@ -25,8 +25,14 @@ struct exclude_list {
int count;
};
+struct source_list {
+ char url[10][200];
+ int count;
+};
+
struct _configuration {
char mirror_url[256];
+ struct source_list sources;
char working_dir[256];
int download_only;
int dist_upgrade;