diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/build.h | 2 | ||||
| -rw-r--r-- | include/fetch.h | 2 | ||||
| -rw-r--r-- | include/pkgit_lua.h | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/include/build.h b/include/build.h index 109ca3e..7dcb53a 100644 --- a/include/build.h +++ b/include/build.h @@ -23,6 +23,6 @@ #include "pkg.h" -void build(package_t *pkg); +bool build(package_t *pkg); #endif diff --git a/include/fetch.h b/include/fetch.h index e58067e..d392098 100644 --- a/include/fetch.h +++ b/include/fetch.h @@ -23,6 +23,6 @@ #include "pkg.h" -void fetch(package_t *pkg); +bool fetch(package_t *pkg); #endif diff --git a/include/pkgit_lua.h b/include/pkgit_lua.h index 0a14fdb..05b9ff6 100644 --- a/include/pkgit_lua.h +++ b/include/pkgit_lua.h @@ -26,9 +26,12 @@ #include <lualib.h> #include <stdbool.h> +#include "pkg.h" + extern lua_State *L; extern lua_State *B; extern bool config_loaded; +extern bool bldit_loaded; // init void push_lua_path(lua_State *L, const char *new_path); @@ -51,5 +54,6 @@ bool lua_try_table(lua_State *L, char *lua_file, char *tname); // install void install_dependencies(lua_State *L); +void pkg_install(package_t *pkg); #endif |
