opkg_remove.h 929 B

1234567891011121314151617181920212223242526272829
  1. /* opkg_remove.h - the opkg package management system
  2. Carl D. Worth
  3. Copyright (C) 2001 University of Southern California
  4. This program is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License as
  6. published by the Free Software Foundation; either version 2, or (at
  7. your option) any later version.
  8. This program is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. */
  13. #ifndef OPKG_REMOVE_H
  14. #define OPKG_REMOVE_H
  15. #include "pkg.h"
  16. #include "opkg_conf.h"
  17. int opkg_remove_pkg(pkg_t * pkg, int message);
  18. int pkg_has_installed_dependents(pkg_t * pkg, abstract_pkg_t *** pdependents);
  19. void remove_data_files_and_list(pkg_t * pkg);
  20. void remove_maintainer_scripts(pkg_t * pkg);
  21. #endif