1 /* opkg_utils.h - the itsy package management system
5 Copyright (C) 2002 Compaq Computer Corporation
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2, or (at
10 your option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
23 void push_error_list(struct errlist **errors,char * msg);
24 void reverse_error_list(struct errlist **errors);
25 void free_error_list();
27 int get_available_blocks(char * filesystem);
28 char **read_raw_pkgs_from_file(const char *file_name);
29 char **read_raw_pkgs_from_stream(FILE *fp);
30 char *trim_alloc(char * line);
31 int line_is_blank(const char *line);