From 358cc5804a2df873180e6d9ef2420ab3247f8437 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 4 Jun 2007 12:51:23 -0400 Subject: 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 --- lib/libalpm/handle.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'lib/libalpm/handle.c') 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: */ -- cgit v1.2.3-54-g00ecf