diff options
author | Keir Fraser <keir@xen.org> | 2010-11-19 13:25:54 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-19 13:25:54 +0000 |
commit | 4c776a32dc059c922e4039ff8f2f4c867e6f5af2 (patch) | |
tree | 078f37a2600649236fa4bbe8e5fa58bba2098f95 /xen/include/xen/lib.h | |
parent | a1650a41d7ab6ca2a56e93036a08b310ebe195d7 (diff) | |
download | xen-4c776a32dc059c922e4039ff8f2f4c867e6f5af2.tar.gz xen-4c776a32dc059c922e4039ff8f2f4c867e6f5af2.tar.bz2 xen-4c776a32dc059c922e4039ff8f2f4c867e6f5af2.zip |
consolidate custom parameter parsing routines looking for boolean values
Have a single function for this, rather than doing the same in half a
dozen places.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r-- | xen/include/xen/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h index e09929a604..7e25cb5a29 100644 --- a/xen/include/xen/lib.h +++ b/xen/include/xen/lib.h @@ -57,6 +57,7 @@ do { \ struct domain; void cmdline_parse(char *cmdline); +int parse_bool(const char *s); /*#define DEBUG_TRACE_DUMP*/ #ifdef DEBUG_TRACE_DUMP |