xref: /haiku/src/libs/libsolv/solv/repo_write.h (revision caed67a8cba83913b9c21ac2b06ebc6bd1cb3111)
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 /*
9  * repo_write.h
10  *
11  */
12 
13 #ifndef REPO_WRITE_H
14 #define REPO_WRITE_H
15 
16 #include <stdio.h>
17 
18 #include "repo.h"
19 #include "queue.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 extern int repo_write(Repo *repo, FILE *fp);
26 extern int repo_write_filtered(Repo *repo, FILE *fp, int (*keyfilter)(Repo *repo, Repokey *key, void *kfdata), void *kfdata, Queue *keyq);
27 
28 extern int repodata_write(Repodata *data , FILE *fp);
29 extern int repodata_write_filtered(Repodata *data , FILE *fp, int (*keyfilter)(Repo *repo, Repokey *key, void *kfdata), void *kfdata, Queue *keyq);
30 
31 extern int repo_write_stdkeyfilter(Repo *repo, Repokey *key, void *kfdata);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif
38