diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-22 11:14:54 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-22 11:14:54 -0400 |
| commit | c293d3cc413991e4fb18b963427a6e55afd2b5c0 (patch) | |
| tree | 0adc4aba00d9f6497e09c4b77b6017d2cd3bb54a /snag/src/package_db.h | |
| parent | 5365f8fa8d6ebfbf3ba92816abe55a99feff6f25 (diff) | |
organization and url stuff
Diffstat (limited to 'snag/src/package_db.h')
| -rw-r--r-- | snag/src/package_db.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/snag/src/package_db.h b/snag/src/package_db.h new file mode 100644 index 0000000..bae1cdd --- /dev/null +++ b/snag/src/package_db.h @@ -0,0 +1,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 |
