summaryrefslogtreecommitdiff
path: root/src/repo.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-07-17 11:20:19 +0200
committerMichael Schroeder <mls@suse.de>2009-07-17 11:20:19 +0200
commitb8811fd0903deb48940d7edf5f369f897c677aa0 (patch)
treeb2d733d95003d5971f85156411b15bc61b6267e3 /src/repo.h
parent0e4740f898991e7e87b42faa08a1606311395bee (diff)
downloadlibsolv-b8811fd0903deb48940d7edf5f369f897c677aa0.tar.gz
libsolv-b8811fd0903deb48940d7edf5f369f897c677aa0.tar.bz2
libsolv-b8811fd0903deb48940d7edf5f369f897c677aa0.zip
- add repodata_write and repo_empty functions
- make solv tool switch to written solv files to activate paging
Diffstat (limited to 'src/repo.h')
-rw-r--r--src/repo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repo.h b/src/repo.h
index b66631b..3d16151 100644
--- a/src/repo.h
+++ b/src/repo.h
@@ -20,7 +20,7 @@
typedef struct _Repo {
- const char *name; /* application private name pointer */
+ const char *name; /* name pointer */
Id repoid; /* our id */
void *appdata; /* application private pointer */
@@ -46,6 +46,7 @@ typedef struct _Repo {
extern Repo *repo_create(Pool *pool, const char *name);
extern void repo_free(Repo *repo, int reuseids);
+extern void repo_empty(Repo *repo, int reuseids);
extern void repo_freeallrepos(Pool *pool, int reuseids);
extern void repo_free_solvable_block(Repo *repo, Id start, int count, int reuseids);
extern void *repo_sidedata_create(Repo *repo, size_t size);