ft_ssl/src/cmd/command_table.c
2026-07-10 22:57:29 +02:00

16 lines
281 B
C

#include <string.h>
#include "internal/cli/option.h"
const struct command_descriptor *
find_command(const char *name)
{
const struct command_descriptor *cmd;
for (cmd = g_commands; NULL != cmd->name; cmd++)
if (0 == strcmp(cmd->name, name))
return cmd;
return NULL;
}