diff options
| author | dacctal <dacctal@symlinx.net> | 2026-06-11 20:07:13 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-06-11 20:07:13 +0000 |
| commit | d057a68a837d278f5dfe55a5dc3c4998e4f126f5 (patch) | |
| tree | 2ab65bbca01943bbfc36bade64b20771f7e28da9 /include | |
| parent | 12fc304f6627dabb2e907582b1ea724c9cad2297 (diff) | |
cpdir checkpoint
Diffstat (limited to 'include')
| -rw-r--r-- | include/create_pkg.h | 2 | ||||
| -rw-r--r-- | include/files.h | 1 | ||||
| -rw-r--r-- | include/lua_state.h | 12 | ||||
| -rw-r--r-- | include/vars.h | 1 |
4 files changed, 9 insertions, 7 deletions
diff --git a/include/create_pkg.h b/include/create_pkg.h index dbd5bec..ed6da14 100644 --- a/include/create_pkg.h +++ b/include/create_pkg.h @@ -3,6 +3,6 @@ #include "vars.h" -Pkg create_pkg(const char *arg, const char *target); +Pkg create_pkg(const char *arg); #endif
\ No newline at end of file diff --git a/include/files.h b/include/files.h index af00cbb..fac3a1e 100644 --- a/include/files.h +++ b/include/files.h @@ -1,4 +1,5 @@ #ifndef FILES #define FILES const char *get_filename_ext(const char *filename); +void cpdir(const char *path, const char *dest); #endif diff --git a/include/lua_state.h b/include/lua_state.h index b882cd7..f8af0a2 100644 --- a/include/lua_state.h +++ b/include/lua_state.h @@ -20,14 +20,14 @@ lua_State* get_lua_state(void); void cache_repos(void); void cache_build_systems(void); void cache_install_directories(void); -bool repo_build(const char *repository); -bool repo_install(const char *repository); -bool repo_uninstall(const char *repository); +bool repo_build(const char *repository, const char *target); +bool repo_install(const char *repository, const char *target); +bool repo_uninstall(const char *repository, const char *target); bool bldit(const char *target); bool bldit_install(const char *target); bool bldit_uninstall(const char *target); -bool config_build(const char *path); -bool config_install(const char *path); -bool config_uninstall(const char *path); +bool config_build(const char *path, const char *target); +bool config_install(const char *path, const char *target); +bool config_uninstall(const char *path, const char *target); #endif
\ No newline at end of file diff --git a/include/vars.h b/include/vars.h index 3a56ef3..98cd829 100644 --- a/include/vars.h +++ b/include/vars.h @@ -53,6 +53,7 @@ typedef struct { extern bool is_symlink_install; extern bool is_verbose; extern bool is_auto_installed; +extern bool is_forced; extern bool config_exists; extern char home_dir[MAX_PATH_LEN]; |
