diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-04 12:51:23 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-04 23:10:49 -0400 |
commit | 358cc5804a2df873180e6d9ef2420ab3247f8437 (patch) | |
tree | 9254dd518c1873aebe78f548d311202a6f1fe2aa /lib/libalpm/handle.c | |
parent | 6949ab97613de3622a4c392a3d33080164eec794 (diff) | |
download | pacman-358cc5804a2df873180e6d9ef2420ab3247f8437.tar.xz |
Rip alpm_parse_config out of libalpm
Switch over to the new frontend parseconfig.
* Fix a few issues in parseconfig
* Remove unused callback upon database registration
* Remove conf file related errors from error.c/alpm.h
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r-- | lib/libalpm/handle.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 858578b5..45f4e8af 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -138,9 +138,6 @@ alpm_list_t SYMEXPORT *alpm_option_get_holdpkgs() { return handle->holdpkg; } time_t SYMEXPORT alpm_option_get_upgradedelay() { return handle->upgradedelay; } const char SYMEXPORT *alpm_option_get_xfercommand() { return handle->xfercommand; } unsigned short SYMEXPORT alpm_option_get_nopassiveftp() { return handle->nopassiveftp; } -unsigned short SYMEXPORT alpm_option_get_chomp() { return handle->chomp; } -unsigned short SYMEXPORT alpm_option_get_usecolor() { return handle->use_color; } -unsigned short SYMEXPORT alpm_option_get_showsize() { return handle->showsize; } pmdb_t SYMEXPORT *alpm_option_get_localdb() { return handle->db_local; } alpm_list_t SYMEXPORT *alpm_option_get_syncdbs() @@ -302,19 +299,4 @@ void SYMEXPORT alpm_option_set_nopassiveftp(unsigned short nopasv) handle->nopassiveftp = nopasv; } -void SYMEXPORT alpm_option_set_chomp(unsigned short chomp) -{ - handle->chomp = chomp; -} - -void SYMEXPORT alpm_option_set_usecolor(unsigned short usecolor) -{ - handle->use_color = usecolor; -} - -void SYMEXPORT alpm_option_set_showsize(unsigned short showsize) -{ - handle->showsize = showsize; -} - /* vim: set ts=2 sw=2 noet: */ |