summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg/config.h')
-rw-r--r--usr.sbin/pkg/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/pkg/config.h b/usr.sbin/pkg/config.h
index c3d877e..72d2ec0 100644
--- a/usr.sbin/pkg/config.h
+++ b/usr.sbin/pkg/config.h
@@ -37,6 +37,8 @@ typedef enum {
ABI,
MIRROR_TYPE,
ASSUME_ALWAYS_YES,
+ SIGNATURE_TYPE,
+ FINGERPRINTS,
CONFIG_SIZE
} pkg_config_key;
@@ -45,6 +47,11 @@ typedef enum {
PKG_CONFIG_BOOL,
} pkg_config_t;
+typedef enum {
+ CONFFILE_PKG=0,
+ CONFFILE_REPO,
+} pkg_conf_file_t;
+
int config_init(void);
void config_finish(void);
int config_string(pkg_config_key, const char **);
OpenPOWER on IntegriCloud