aboutsummaryrefslogtreecommitdiff
path: root/snag/src/package_db.h
blob: bae1cdda8a426d6f010de390e77030de9c04840a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PKG_DB_H
#define PKG_DB_H

#include <stdbool.h>

#include "package.h"

// loads and allocates package attributes for the info struct. does not do
// excessive validation, so this should be fine when loading lots of package
// data
bool load_package_info(char* pkgid, package_info_t* info);
void run_package_install(const package_info_t* info);

#endif