aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/command.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-11-03 21:45:32 +0000
committerBrian Somers <brian@FreeBSD.org>2001-11-03 21:45:32 +0000
commit46df5aa7bc98cd1d4769ce244d518f4e161f3e61 (patch)
treeec148ab8a0b3c8d98c08221f9c5b958f68a4203f /usr.sbin/ppp/command.h
parent5eef06c222360519f1ba82ee24350adbb1e70ac2 (diff)
downloadsrc-46df5aa7bc98cd1d4769ce244d518f4e161f3e61.tar.gz
src-46df5aa7bc98cd1d4769ce244d518f4e161f3e61.zip
Add a ``log'' command for logging specific information.
Add an ``UPTIME'' variable to indicate the bundle uptime. It's now possible to put something like this in ppp.linkdown for a server setup: MYADDR: log Session closing: User USER, address HISADDR, up UPTIME Fixed some memory leakage with commands that expand words. Made some functions static. Fixed a diagnostic bug (iface add .... SIOCDIFADDR)
Notes
Notes: svn path=/head/; revision=85991
Diffstat (limited to 'usr.sbin/ppp/command.h')
-rw-r--r--usr.sbin/ppp/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/command.h b/usr.sbin/ppp/command.h
index 8f793013bbe4..8eb1e38d243d 100644
--- a/usr.sbin/ppp/command.h
+++ b/usr.sbin/ppp/command.h
@@ -63,6 +63,7 @@ extern const char Version[];
extern void command_Expand(char **, int, char const *const *, struct bundle *,
int, pid_t);
+extern void command_Free(int, char **);
extern int command_Expand_Interpret(char *, int, char *vector[MAXARGS], int);
extern int command_Interpret(char *, int, char *vector[MAXARGS]);
extern void command_Run(struct bundle *, int, char const *const *,