Move parsing of incoming syslog messages to their own section.
authormartijn <martijn@openbsd.org>
Thu, 13 Jan 2022 10:34:07 +0000 (10:34 +0000)
committermartijn <martijn@openbsd.org>
Thu, 13 Jan 2022 10:34:07 +0000 (10:34 +0000)
commit2a99deb55e08dbd4e54a0991b5733934ad59fdad
treeeb2ac2bce058d2355347412c31aeaa939869cb3b
parenta5505455aa34289baf431f3db58b1893b79fc8b6
Move parsing of incoming syslog messages to their own section.
This should make it more manageable.

No functional change intended, debugging output slightly changed.

help from and OK bluhm@
usr.sbin/syslogd/Makefile
usr.sbin/syslogd/parsemsg.c [new file with mode: 0644]
usr.sbin/syslogd/parsemsg.h [new file with mode: 0644]
usr.sbin/syslogd/syslogd.c
usr.sbin/syslogd/syslogd.h