Extract the struct definitions from the source syslogd.c file and move them into an isolated syslogd.h header file. This change facilitates the compartmentalization of syslogd into separate files.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I'm ok with this, a general comment is just that we should seek to minimize syslogd.h, i.e., try to ensure it only contains stuff that really needs to be shared. For example, I'm pretty sure casper doesn't need RCVBUF_MINSIZE?
Comment Actions
A later patch will split syslogd into multiple files for configuration parsing, message parsing, and log parsing. This is all needed there.