Files
42sh/bonus/loop.h
2025-05-09 16:51:51 +02:00

24 lines
365 B
C

/*
** EPITECH PROJECT, 2025
** __
** File description:
** _
*/
#ifndef LOOP_H
#define LOOP_H
#include <stdbool.h>
#include <stddef.h>
#include "exec.h"
typedef struct {
size_t sz;
size_t cap;
char **cmds;
} usr_cmd_t;
usr_cmd_t *get_usr_loop_cmd(exec_ctx_t *exec_ctx, usr_cmd_t *usr_cmd,
char const *prompt);
#endif /* LOOP_H */