From 7ed0d60a0db26e8ac2224196b3a629676a0b9c21 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 26 Apr 2014 12:19:03 -0400 Subject: conf.c: parse config in a single pass Fixes FS#28255 Signed-off-by: Andrew Gregory --- src/pacman/conf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pacman/conf.h') diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 3eae363f..51224524 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -35,6 +35,7 @@ typedef struct __colstr_t { } colstr_t; typedef struct __config_repo_t { + char *name; alpm_list_t *servers; alpm_db_usage_t usage; alpm_siglevel_t siglevel; @@ -125,6 +126,8 @@ typedef struct __config_t { /* Color strings for output */ colstr_t colstr; + + alpm_list_t *repos; } config_t; /* Operations */ -- cgit v1.2.3-24-g4f1b