summaryrefslogtreecommitdiff
path: root/accel-pppd/cli/cli_p.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-05 15:18:59 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-05 15:18:59 +0300
commitf28cb1b0a926f1ea98700b7871537ad1793511fd (patch)
treebaf35570bc6b38b6fab5b6524e8f19f58f71e57f /accel-pppd/cli/cli_p.h
parent2fdf3586c13a72c36f9530084962e29d57dc0329 (diff)
downloadaccel-ppp-f28cb1b0a926f1ea98700b7871537ad1793511fd.tar.gz
accel-ppp-f28cb1b0a926f1ea98700b7871537ad1793511fd.zip
rename accel-pptp to accel-ppp
Diffstat (limited to 'accel-pppd/cli/cli_p.h')
-rw-r--r--accel-pppd/cli/cli_p.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/accel-pppd/cli/cli_p.h b/accel-pppd/cli/cli_p.h
new file mode 100644
index 00000000..0fcba309
--- /dev/null
+++ b/accel-pppd/cli/cli_p.h
@@ -0,0 +1,22 @@
+#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
+