xref: /haiku/src/libs/libsolv/solv/repo_haiku.h (revision caed67a8cba83913b9c21ac2b06ebc6bd1cb3111)
1 /*
2  * Copyright (c) 2011-2013, Ingo Weinhold <ingo_weinhold@gmx.de>
3  *
4  * This program is licensed under the BSD license, read LICENSE.BSD
5  * for further information
6  */
7 
8 #ifndef REPO_HAIKU_H
9 #define REPO_HAIKU_H
10 
11 #include "repo.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 int repo_add_haiku_installed_packages(Repo *repo, const char *rootdir,
18   int flags);
19 Id repo_add_haiku_package(Repo *repo, const char *hpkgPath, int flags);
20 int repo_add_haiku_packages(Repo *repo, const char *repoName, int flags);
21 
22 #ifdef __cplusplus
23 
24 namespace BPackageKit {
25   class BPackageInfo;
26 }
27 
28 Id repo_add_haiku_package_info(Repo *repo,
29   const BPackageKit::BPackageInfo &packageInfo, int flags);
30 
31 } /* extern "C" */
32 
33 #endif /*__cplusplus*/
34 
35 #endif /* REPO_HAIKU_H */
36