13 lines
321 B
C
13 lines
321 B
C
#include "ft_ssl.h"
|
|
#include "internal/cli/cli_handlers.h"
|
|
|
|
int
|
|
cli_handle_s(const char *arg, void *config_void)
|
|
{
|
|
struct digest_config *config = (struct digest_config *)config_void;
|
|
|
|
if (config->nb_strings >= DIGEST_MAX_STRINGS)
|
|
return CLI_ERROR;
|
|
config->strings[config->nb_strings++] = arg;
|
|
return CLI_SUCCESS;
|
|
}
|