blob: a4038c80cd4aba1e4c1c87366717a6d809f512e0 [file] [log] [blame] [edit]
/* Copyright (c) 2016 Google Inc
* Barret Rhoden <brho@cs.berkeley.edu>
* See LICENSE for details.
*
* Various option parsing utility functions. */
#pragma once
/* Parses an option file, calling parse() on individual lines. We trim the
* lines of any leading or trailing spaces first, and ignore anything after #.
*/
int parse_opts_file(char *opts_file, void (*parse)(char *));