From c293d3cc413991e4fb18b963427a6e55afd2b5c0 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Wed, 22 Jul 2026 11:14:54 -0400 Subject: organization and url stuff --- snag/src/pkg_db.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 snag/src/pkg_db.h (limited to 'snag/src/pkg_db.h') diff --git a/snag/src/pkg_db.h b/snag/src/pkg_db.h deleted file mode 100644 index 0d34a61..0000000 --- a/snag/src/pkg_db.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PKG_DB_H -#define PKG_DB_H - -#include - -// 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 -typedef struct { - char* id; - char* name; - char* desc; - char* webpage; - char* license; - char* version; - char buffer[4069]; -} package_attrs_t; - -typedef struct { - char* script_path; - package_attrs_t attrs; -} package_info_t; - -bool load_package_info(char* pkgid, package_info_t* info); -void run_package_install(const package_info_t* info); - -#endif -- cgit v1.2.3