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