#ifndef __CLI_P_H
#define __CLI_P_H

#include <stdarg.h>

#include "triton.h"

struct cli_client_t
{
	uint8_t *cmdline;
	int (*send)(struct cli_client_t *, const void *buf, int size);
	int (*sendv)(struct cli_client_t *, const char *fmt, va_list ap);
	void (*disconnect)(struct cli_client_t *);
};

int cli_process_cmd(struct cli_client_t *cln);

extern char *conf_cli_passwd;
extern char *conf_cli_prompt;

#endif