diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 10:10:23 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 10:10:23 +0100 |
commit | aa1c0ba9f8787fc3b1a1190103e394b0c1c95922 (patch) | |
tree | ed0c9675f7fc5da043a69b36e0b8c6c8e05cb583 /src/pacman/conf.h | |
parent | b8b9596b13de957566211b0e1db3e473ed66e147 (diff) | |
download | pacman-aa1c0ba9f8787fc3b1a1190103e394b0c1c95922.tar.gz pacman-aa1c0ba9f8787fc3b1a1190103e394b0c1c95922.tar.xz |
* repo-add script - to add entries to a db file directly from package data (no PKGBUILD)
* libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a
typesafe _get_what_we_want(p) scheme [not 100% complete yet]
* some const correctness changes
* removal of PM_* types in alpm.h in favor of the pm*_t types used throughout
libalpm
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r-- | src/pacman/conf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index f7b5d2fb..79f9c0ec 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -23,9 +23,9 @@ typedef struct __config_t { /* command line options */ - char *root; - char *dbpath; - char *cachedir; + const char *root; + const char *dbpath; + const char *cachedir; char *configfile; unsigned short op; unsigned short verbose; @@ -63,7 +63,7 @@ typedef struct __config_t { config_t *config_new(void); int config_free(config_t *config); -void cb_db_register(char *section, PM_DB *db); +void cb_db_register(char *section, pmdb_t *db); #endif /* _PM_CONF_H */ |