diff options
author | Michael Schroeder <mls@suse.de> | 2009-07-17 11:20:19 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-07-17 11:20:19 +0200 |
commit | b8811fd0903deb48940d7edf5f369f897c677aa0 (patch) | |
tree | b2d733d95003d5971f85156411b15bc61b6267e3 /src/repo.h | |
parent | 0e4740f898991e7e87b42faa08a1606311395bee (diff) | |
download | libsolv-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |