parlib: Add option file parsing helper
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 9 Jan 2017 20:17:03 +0000 (15:17 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jan 2017 00:01:40 +0000 (19:01 -0500)
commit54d9ed08de86e49a6fd08aa1ccdf827597292398
tree049d71b96cfcf8ee44a8e59d95d0fb6ac0e9b17e
parent325b7cac226324c9c523d12da5121f0ff91da0ec
parlib: Add option file parsing helper

This does the line-by-line work for reading a file: stripping the spaces
and comments.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/parlib/opts.h [new file with mode: 0644]
user/parlib/opts.c [new file with mode: 0644]