From 7019724ab5c818e18fb5ee61b6b14487c47da3ec Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 17 Jul 2026 00:18:01 +0000 Subject: more features but memory leak --- include/pkgit_lua.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/pkgit_lua.h') diff --git a/include/pkgit_lua.h b/include/pkgit_lua.h index 05b9ff6..f5f86a1 100644 --- a/include/pkgit_lua.h +++ b/include/pkgit_lua.h @@ -51,9 +51,17 @@ void lua_isnt_type(char* variable, char* type); void bldit_isnt_type(char* variable, char* type); bool lua_try_function(lua_State *L, char *lua_file, char *fname); bool lua_try_table(lua_State *L, char *lua_file, char *tname); +bool pkg_exists(str *name); +str pkg_get_url(str *name); // install void install_dependencies(lua_State *L); void pkg_install(package_t *pkg); +// remove +bool repo_uninstall(package_t *pkg); +bool bldit_uninstall(package_t *pkg); +bool config_uninstall(package_t *pkg); +void pkg_remove(package_t *pkg); + #endif -- cgit v1.2.3