From: Jeremy Kerr Date: Thu, 8 Aug 2013 06:40:59 +0000 (+0800) Subject: discover: separate file-reading code into file.c X-Git-Tag: v1.0.0~529 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=a70807730ef59efc4116556ecabe1b9f70ce605b;hp=a70807730ef59efc4116556ecabe1b9f70ce605b discover: separate file-reading code into file.c We'll need to read files in the network config code, so add a 'file' object, containing the read_file function. Signed-off-by: Jeremy Kerr ---