aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/lib.h
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-11-19 13:25:54 +0000
committerKeir Fraser <keir@xen.org>2010-11-19 13:25:54 +0000
commit4c776a32dc059c922e4039ff8f2f4c867e6f5af2 (patch)
tree078f37a2600649236fa4bbe8e5fa58bba2098f95 /xen/include/xen/lib.h
parenta1650a41d7ab6ca2a56e93036a08b310ebe195d7 (diff)
downloadxen-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.h1
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