summaryrefslogtreecommitdiff
path: root/include/pkgman.h
blob: ad95528acb9c43030c0a63e3cdfd8dc4342417c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PKGMAN_H
#define PKGMAN_H

typedef struct url url;

struct pkgman_config {
	char *dir_tmp;
        char *dir_staging;
        char *upstream;
};

int pkgman_upstream_check(struct pkgman_config *pc, const char *pkg);
int pkgman_install_pkg(struct pkgman_config *pc, const char *pkg);
int pkgman_upstream_integrity_download(struct pkgman_config *pc,
				       const char *pkg);

#endif