diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-08-20 10:51:26 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-08-20 10:51:26 +0000 |
| commit | d62326ee93521de490e5bc8d37bf234111187e20 (patch) | |
| tree | 8d270aa3b737af47871bfb47937b17154e81f4f9 /include | |
| parent | 51983b47b22db7bf819e9880caa2b72bdb8c9942 (diff) | |
barebones update functionality
Diffstat (limited to 'include')
| -rw-r--r-- | include/lua_state.h | 2 | ||||
| -rw-r--r-- | include/pkg.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/lua_state.h b/include/lua_state.h index 97740e7..0caf62f 100644 --- a/include/lua_state.h +++ b/include/lua_state.h @@ -14,6 +14,8 @@ bool init_lua_config(void); void free_lua_state(void); void free_lua_config(void); +bool config_hook_on_update(void); + #define lua_get_field_type(name, type, file, pop_num) \ do { \ lua_getfield(L, -1, name); \ diff --git a/include/pkg.h b/include/pkg.h index d6e6cf0..6b13e71 100644 --- a/include/pkg.h +++ b/include/pkg.h @@ -12,8 +12,6 @@ typedef struct package_t { package_t pkg_create(str *arg); bool pkg_exists(str *name); -bool pkg_hook_url(package_t *pkg); -str pkg_get_url(package_t *pkg); bool pkg_hook_setup(package_t *pkg); bool pkg_hook_build(package_t *pkg); bool pkg_hook_install(package_t *pkg); @@ -22,6 +20,8 @@ bool pkg_hook_on_update(package_t *pkg); bool pkg_hook_fetch_sources(package_t *pkg); bool pkg_hook_fetch_latest_version(package_t *pkg); str pkg_get_latest_version(package_t *pkg); +bool pkg_hook_url(package_t *pkg); +str pkg_get_url(package_t *pkg); bool pkg_setup(package_t *pkg); bool pkg_build(package_t *pkg); |
