repo_solv.h 557 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2007, Novell Inc.
  3. *
  4. * This program is licensed under the BSD license, read LICENSE.BSD
  5. * for further information
  6. */
  7. /*
  8. * repo_solv.h
  9. *
  10. */
  11. #ifndef LIBSOLV_REPO_SOLVE_H
  12. #define LIBSOLV_REPO_SOLVE_H
  13. #include <stdio.h>
  14. #include "pool.h"
  15. #include "repo.h"
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. extern int repo_add_solv(Repo *repo, FILE *fp, int flags);
  20. extern int solv_read_userdata(FILE *fp, unsigned char **datap, int *lenp);
  21. #define SOLV_ADD_NO_STUBS (1 << 8)
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif /* LIBSOLV_REPO_SOLVE_H */