Refactor collectd binary to separate Unix-specific code.
authorSean Campbell <seancampbell04@gmail.com>
Wed, 6 Jun 2018 14:04:53 +0000 (10:04 -0400)
committerSebastian Harl <sh@tokkee.org>
Wed, 6 Jun 2018 14:04:53 +0000 (16:04 +0200)
commit499897f2a640e04e97865f89400885084e6aee82
tree24b19f2e6c3d5d6993c0e30178fff380fff8176e
parentc48faeb6823887e4d31fdcf1940c17dfc29ea70c
Refactor collectd binary to separate Unix-specific code.

Move OS-specific code from collectd.c into cmd.c.
This makes it easier to use the non-Linux-specific code when we port to Windows.
Makefile.am
src/daemon/cmd.c [new file with mode: 0644]
src/daemon/cmd.h [new file with mode: 0644]
src/daemon/collectd.c