6 #define RZ_QUIT_VALUE_KILL 5
7 #define RZ_QUIT_VALUE_NOKILL 1
8 #define RZ_QUIT_VALUE_SAVE 10
9 #define RZ_QUIT_VALUE_NOSAVE 2
39 if (
input[0] ==
'!') {
40 if (
input[1] ==
'!') {
RZ_IPI RzCmdStatus rz_quit_kill_nosave_handler(RzCore *core, int argc, const char **argv)
#define RZ_QUIT_VALUE_NOSAVE
#define RZ_QUIT_VALUE_NOKILL
RZ_IPI RzCmdStatus rz_quit_nokill_nosave_handler(RzCore *core, int argc, const char **argv)
static int cmd_Quit(void *data, const char *input)
#define RZ_QUIT_VALUE_SAVE
RZ_IPI RzCmdStatus rz_cmd_force_quit_without_history_handler(RzCore *core, int argc, const char **argv)
#define RZ_QUIT_VALUE_KILL
RZ_IPI RzCmdStatus rz_cmd_quit_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_quit_nokill_save_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_quit_kill_save_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_cmd_force_quit_handler(RzCore *core, int argc, const char **argv)
RZ_API RzConfigNode * rz_config_set(RzConfig *cfg, RZ_NONNULL const char *name, const char *value)
static static fork const void static count static fd const char const char static newpath char char argv
enum rz_cmd_status_t RzCmdStatus
@ RZ_CMD_STATUS_EXIT
command handler asks to exit the prompt loop
RZ_API ut64 rz_num_math(RzNum *num, const char *str)
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)