From f547c5906e484a05abb12b2a3f5d704c3cf7b60f Mon Sep 17 00:00:00 2001 From: graham.gower Date: Tue, 10 Nov 2009 22:18:23 -0500 Subject: Cleanup parsing of packages. This diff is loosely based on a patch by Jo-Philipp Wich posted in the bugtracker (Issue #24). Peak memory consumption while parsing package lists is dramatically reduced. Thanks to Camille Moncelier for fixing problems after reallocing for long lines. git-svn-id: http://opkg.googlecode.com/svn/trunk@283 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_utils.h') diff --git a/libopkg/opkg_utils.h b/libopkg/opkg_utils.h index fdba37d..faa504b 100644 --- a/libopkg/opkg_utils.h +++ b/libopkg/opkg_utils.h @@ -26,8 +26,6 @@ void free_error_list(void); void print_error_list(void); long unsigned int get_available_blocks(char * filesystem); -char **read_raw_pkgs_from_file(const char *file_name); -char **read_raw_pkgs_from_stream(FILE *fp); char *trim_alloc(const char *line); int line_is_blank(const char *line); -- cgit v0.9.1