Imported Upstream version 0.6.28
[platform/upstream/libsolv.git] / src / repo_solv.h
index 1c54716..0c66394 100644 (file)
@@ -1,22 +1,33 @@
 /*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
  * 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 */