Pass the entire pinfo to the slave
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Jul 2013 23:36:43 +0000 (20:36 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 1 Aug 2013 03:20:08 +0000 (00:20 -0300)
commit0582623babde200dde69bef08903ae48682c2532
treeb5021a427138988e33e7639070b31458f619dd9e
parentd449df7ad7b1dfc80b97a83987e0b1cc5fa3d14d
Pass the entire pinfo to the slave

The worker process already needs 2 fields that comes from pinfo when the
process is forked. There's no reason lms_create_slave() and
lms_restart_slave() should keep the rest of the information private.
Since the worker process will require the update_id that also comes from
this struct, pass the entire struct.
src/lib/lightmediascanner_check.c
src/lib/lightmediascanner_private.h
src/lib/lightmediascanner_process.c