Cleanup parsing of packages.
[project/opkg-lede.git] / libopkg / opkg_utils.h
index ed9215b0f3acaa9f66b20a4820bc2dd4ca46eb20..faa504bd2b34305e58cc6e8d1f909b8256bd474a 100644 (file)
 #include "pkg.h"
 #include "opkg_error.h"
 
-void push_error_list(struct errlist **errors,char * msg);
-void reverse_error_list(struct errlist **errors);
-void free_error_list(struct errlist **errors);
+void push_error_list(char * msg);
+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(char * line);
+char *trim_alloc(const char *line);
 int line_is_blank(const char *line);
 
 #endif