summaryrefslogtreecommitdiffstats
path: root/src/cli.h
blob: f1b74397b2645866ad162e25eaba3332667037a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef fooclihfoo
#define fooclihfoo

#include "iochannel.h"
#include "core.h"

struct cli;

struct cli* cli_new(struct core *core, struct iochannel *io);
void cli_free(struct cli *cli);

void cli_set_eof_callback(struct cli *cli, void (*cb)(struct cli*c, void *userdata), void *userdata);

#endif