add support for complex dependencies
[platform/upstream/libsolv.git] / src / repo_solv.h
index da76a3b..0c66394 100644 (file)
@@ -7,23 +7,27 @@
 
 /*
  * repo_solv.h
- * 
+ *
  */
 
-#ifndef REPO_SOLVE_H
-#define REPO_SOLVE_H
+#ifndef LIBSOLV_REPO_SOLVE_H
+#define LIBSOLV_REPO_SOLVE_H
+
+#include <stdio.h>
+
+#include "pool.h"
+#include "repo.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include "pool.h"
-#include "repo.h"
+extern int repo_add_solv(Repo *repo, FILE *fp, int flags);
 
-extern Repo *pool_addrepo_solv(Pool *pool, FILE *fp, const char *name);
+#define SOLV_ADD_NO_STUBS      (1 << 8)
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* REPO_SOLVE_H */
+#endif /* LIBSOLV_REPO_SOLVE_H */