[syslog] Include hostname within syslog messages where possible

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-06-20 14:39:33 +01:00
parent 7ea6764031
commit cbc54bf559
3 changed files with 57 additions and 8 deletions

View File

@@ -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 */