summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/ui/telnet_interface.h
blob: b35b47f91797d4d87f288250967840ac7110b85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _LIBUI_TELNET_IF_H
#define _LIBUI_TELNET_IF_H

struct ui_telnet_connection {
	struct llist_head entry;
	void *priv;
	struct osmo_fd fd;
	struct ui_inst *ui;
	struct buffer *obuf;
	int iac, sb, esc;
};

int ui_telnet_init(struct ui_inst *ui, void *tall_ctx, int port);
int ui_telnet_puts(struct ui_inst *ui, const char *text);
void ui_telnet_exit(struct ui_inst *ui);

#endif /* _LIBUI_TELNET_IF_H */