Forward declate struct vol
Use mkstemp instead of mktemp
Fix function definition, return type is pid_t
Include config.h
Remove const from path
Add copyright and license and config.h
Fix several warnings, remove const