#include "utils_cmds.h"
#include "utils_cmd_flush.h"
+#include "utils_cmd_getval.h"
#include "utils_cmd_listval.h"
#include "utils_cmd_putval.h"
#include "utils_parse_option.h"
return cmd_parse_flush (argc - 1, argv + 1,
&ret_cmd->cmd.flush, err);
}
+ else if (strcasecmp ("GETVAL", command) == 0)
+ {
+ ret_cmd->type = CMD_GETVAL;
+ return cmd_parse_getval (argc - 1, argv + 1,
+ &ret_cmd->cmd.getval, err);
+ }
else if (strcasecmp ("LISTVAL", command) == 0)
{
ret_cmd->type = CMD_LISTVAL;
case CMD_FLUSH:
cmd_destroy_flush (&cmd->cmd.flush);
break;
+ case CMD_GETVAL:
+ cmd_destroy_getval (&cmd->cmd.getval);
+ break;
case CMD_LISTVAL:
cmd_destroy_listval (&cmd->cmd.listval);
break;