summaryrefslogtreecommitdiff
path: root/ext/repo_haiku.h
blob: 6770666f7073c9df42cd269c347078ee4ff16383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * Copyright (c) 2011-2013, Ingo Weinhold <ingo_weinhold@gmx.de>
 *
 * This program is licensed under the BSD license, read LICENSE.BSD
 * for further information
 */
 
#ifndef REPO_HAIKU_H
#define REPO_HAIKU_H

#include "repo.h"

#ifdef __cplusplus
extern "C" {
#endif

int repo_add_haiku_installed_packages(Repo *repo, const char *rootdir,
  int flags);
Id repo_add_haiku_package(Repo *repo, const char *hpkgPath, int flags);
int repo_add_haiku_packages(Repo *repo, const char *repoName, int flags);

#ifdef __cplusplus

namespace BPackageKit {
  class BPackageInfo;
}

Id repo_add_haiku_package_info(Repo *repo,
  const BPackageKit::BPackageInfo &packageInfo, int flags);

} /* extern "C" */

#endif /*__cplusplus*/

#endif /* REPO_HAIKU_H */