summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-09-06 08:16:33 +0000
committerbrian <brian@FreeBSD.org>1999-09-06 08:16:33 +0000
commit1a77c3372ee73695efb75693292dbb4fb7df1625 (patch)
tree680d9565a2e1e5acb4d08b76f16ec446096caa0d /usr.sbin/ppp/log.h
parent389c23d61791710d0d3af997c3eebb6d16582308 (diff)
downloadFreeBSD-src-1a77c3372ee73695efb75693292dbb4fb7df1625.zip
FreeBSD-src-1a77c3372ee73695efb75693292dbb4fb7df1625.tar.gz
When logging warning messages, there are now three scenarios:
o If a prompt is executing the command, only display the warning to that prompt o If a prompt is executing a ``load'' command, display the warning to all prompts *and* syslog o Otherwise, display the warning to all prompts *and* syslog.
Diffstat (limited to 'usr.sbin/ppp/log.h')
-rw-r--r--usr.sbin/ppp/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/log.h b/usr.sbin/ppp/log.h
index ede9920..70fe4c2 100644
--- a/usr.sbin/ppp/log.h
+++ b/usr.sbin/ppp/log.h
@@ -87,6 +87,7 @@ extern int log_ShowLevel(struct cmdargs const *);
extern int log_SetLevel(struct cmdargs const *);
extern int log_ShowWho(struct cmdargs const *);
+extern struct prompt *log_PromptContext;
extern int log_PromptListChanged;
extern void log_RegisterPrompt(struct prompt *);
extern void log_UnRegisterPrompt(struct prompt *);
OpenPOWER on IntegriCloud