diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-17 00:18:01 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-17 00:18:01 +0000 |
| commit | 7019724ab5c818e18fb5ee61b6b14487c47da3ec (patch) | |
| tree | 0a7d60563c56a75fcfe7ecdd66f21bdc420fc1fa /include/pkgit_lua.h | |
| parent | 43e35385f741a3c48cf667fd55bc1175d1d2b927 (diff) | |
more features but memory leak
Diffstat (limited to 'include/pkgit_lua.h')
| -rw-r--r-- | include/pkgit_lua.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
