conffile.h 908 B

1234567891011121314151617181920212223242526272829
  1. /* conffile.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 CONFFILE_H
  14. #define CONFFILE_H
  15. #include "nv_pair.h"
  16. typedef struct nv_pair conffile_t;
  17. int conffile_init(conffile_t * conffile, const char *file_name,
  18. const char *md5sum);
  19. void conffile_deinit(conffile_t * conffile);
  20. int conffile_has_been_modified(conffile_t * conffile);
  21. #endif