X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Fopkg_utils.h;h=092d158774cd1b36ae21dff443f2a68dc3c34199;hb=a51633c1d32fdf46957a155d1744d6f30fb47420;hp=f47e35f660613f184517d1946538a0b1e81a7aee;hpb=4b0b7ca249bfa4ecc099c2ca56527eb91776f198;p=oweals%2Fopkg-lede.git diff --git a/libopkg/opkg_utils.h b/libopkg/opkg_utils.h index f47e35f..092d158 100644 --- a/libopkg/opkg_utils.h +++ b/libopkg/opkg_utils.h @@ -1,7 +1,7 @@ -/* opkg_utils.h - the itsy package management system +/* opkg_utils.h - the opkg package management system Steven M. Ayer - + Copyright (C) 2002 Compaq Computer Corporation This program is free software; you can redistribute it and/or @@ -18,12 +18,8 @@ #ifndef OPKG_UTILS_H #define OPKG_UTILS_H -#include "pkg.h" - -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); +unsigned long get_available_kbytes(char * filesystem); +char *trim_xstrdup(const char *line); int line_is_blank(const char *line); #endif