Pass parameters around in a data structure.
authorIain Patterson <me@iain.cx>
Wed, 20 Nov 2013 12:14:15 +0000 (12:14 +0000)
committerIain Patterson <me@iain.cx>
Wed, 20 Nov 2013 15:49:32 +0000 (15:49 +0000)
commitfce252d07bdf443e3b283c26a940d3b0f26fd440
tree697f19e3ee17601b7bf32180d23015f02bb81454
parent0f64692bef62a3be6f9352cfdee05d73130d06f4
Pass parameters around in a data structure.

Instead of static variables and functions taking a dozen arguments we
now use a single data structure, nssm_service_t, for the service.

The code is easier to read and understand, especially when adding more
variables through to functions.
gui.cpp
nssm.h
process.cpp
process.h
registry.cpp
registry.h
service.cpp
service.h