There is no need to use a buffer at all.
[oweals/opkg-lede.git] / libopkg / opkg_utils.h
1 /* opkg_utils.h - the opkg package management system
2
3    Steven M. Ayer
4    
5    Copyright (C) 2002 Compaq Computer Corporation
6
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.
11
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.
16 */
17
18 #ifndef OPKG_UTILS_H
19 #define OPKG_UTILS_H
20
21 #include "pkg.h"
22 #include "opkg_error.h"
23
24 void push_error_list(char * msg);
25 void free_error_list(void);
26 void print_error_list(void);
27
28 long unsigned int get_available_blocks(char * filesystem);
29 char *trim_xstrdup(const char *line);
30 int line_is_blank(const char *line);
31
32 #endif