aboutsummaryrefslogtreecommitdiff
path: root/snag/src/package_db.h
blob: 17ff58d42f66472e7427d56e7a420f80844ec8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PACKAGE_DB_H
#define PACKAGE_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