summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/syslog.h
diff options
context:
space:
mode:
authorMichael Brown2012-06-20 15:39:33 +0200
committerMichael Brown2012-06-20 15:59:06 +0200
commitcbc54bf559ce257991a4c87001d7a5c41dbe1869 (patch)
tree0f613faffe79fd02f6146854d0b2bac4653fd80e /src/include/ipxe/syslog.h
parent[settings] Move "domain" setting from dns.c to settings.c (diff)
downloadipxe-cbc54bf559ce257991a4c87001d7a5c41dbe1869.tar.gz
ipxe-cbc54bf559ce257991a4c87001d7a5c41dbe1869.tar.xz
ipxe-cbc54bf559ce257991a4c87001d7a5c41dbe1869.zip
[syslog] Include hostname within syslog messages where possible
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/syslog.h')
-rw-r--r--src/include/ipxe/syslog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/syslog.h b/src/include/ipxe/syslog.h
index 035ca6700..131692654 100644
--- a/src/include/ipxe/syslog.h
+++ b/src/include/ipxe/syslog.h
@@ -35,4 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
/** Syslog priority */
#define SYSLOG_PRIORITY( facility, severity ) ( 8 * (facility) + (severity) )
+extern int syslog_send ( struct interface *xfer, unsigned int severity,
+ const char *message, const char *terminator );
+
#endif /* _IPXE_SYSLOG_H */