1 #ifndef RZ_UTIL_PATH_H_
2 #define RZ_UTIL_PATH_H_
static static fork const void static count static fd const char const char static newpath const char static path const char path
RZ_API RZ_OWN char * rz_path_home_config(void)
Return the home directory for config files (e.g. ~/.config/rizin)
RZ_API RZ_OWN char * rz_path_system_rc(void)
Return the system path of the global rizinrc file.
RZ_API RZ_OWN char * rz_path_incdir(void)
Return the directory where include files are placed.
RZ_API RZ_OWN char * rz_path_home_expand(RZ_NULLABLE const char *path)
Return a new path with the ~ char expanded to the home directory.
RZ_API RZ_OWN char * rz_path_home_config_rc(void)
Return the path of the rizinrc file in the home config directory.
RZ_API RZ_OWN char * rz_path_home_prefix(RZ_NULLABLE const char *path)
Return path prefixed by the home prefix.
RZ_API RZ_OWN char * rz_path_system(RZ_NULLABLE const char *path)
Return the full system path of the given subpath path.
RZ_API RZ_OWN char * rz_path_home_cache(void)
Return the home directory for cache files (e.g. ~/.cache/rizin)
RZ_API RZ_OWN char * rz_path_home_history(void)
Return the path for the command history file.
RZ_API void rz_path_set_prefix(RZ_NONNULL const char *path)
Return path prefixed by the Rizin install prefix.
RZ_API RZ_OWN char * rz_path_libdir(void)
Return the directory where the Rizin libraries are placed.
RZ_API RZ_OWN char * rz_path_bindir(void)
Return the directory where the Rizin binaries are placed.
RZ_API RZ_OWN char * rz_path_realpath(RZ_NULLABLE const char *path)
Return a canonicalized absolute path. Expands all symbolic links and resolves references to /....
RZ_API RZ_OWN char * rz_path_prefix(RZ_NULLABLE const char *path)
Return path prefixed by the Rizin install prefix.
RZ_API RZ_OWN char * rz_path_home_config_rcdir(void)
Return the home directory of config rizinrc.d.
RZ_API RZ_OWN char * rz_path_home_rc(void)
Return the path of the rizinrc file in the home directory.
RZ_API RZ_OWN char * rz_path_home(RZ_NULLABLE const char *path)
Return a new path relative to the home directory.