11 }
else if (!rz_list_empty(res)) {
12 eprintf(
"Detailed project load info:\n");
16 rz_list_foreach (res, it,
s) {
28 eprintf(
"There is no project file associated with the current session yet.\n"
29 "Specify the file explicitly as `Ps <file.rzdb>` or set it manually with `e prj.file=<project-path>`.\n");
RZ_IPI RzCmdStatus rz_project_save_handler(RzCore *core, int argc, const char **argv)
RZ_API bool rz_core_project_load_for_cli(RzCore *core, const char *file, bool load_bin_io)
RZ_IPI RzCmdStatus rz_project_open_no_bin_io_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_project_open_handler(RzCore *core, int argc, const char **argv)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
RZ_API bool rz_config_get_b(RzConfig *cfg, RZ_NONNULL const char *name)
RZ_API RZ_BORROW const char * rz_config_get(RzConfig *cfg, RZ_NONNULL const char *name)
static static fork const void static count static fd const char const char static newpath char char argv
RZ_API RZ_NONNULL const char * rz_project_err_message(RzProjectErr err)
RZ_API RzProjectErr rz_project_load_file(RzCore *core, const char *file, bool load_bin_io, RzSerializeResultInfo *res)
RZ_API RzProjectErr rz_project_save_file(RzCore *core, const char *file, bool compress)
enum rz_cmd_status_t RzCmdStatus
@ RZ_CMD_STATUS_OK
command handler exited in the right way
@ RZ_CMD_STATUS_ERROR
command handler had issues while running (e.g. allocation error, etc.)
enum rz_project_err RzProjectErr
static RzSerializeResultInfo * rz_serialize_result_info_new(void)
static void rz_serialize_result_info_free(RzSerializeResultInfo *info)
#define RZ_STR_ISEMPTY(x)