aboutsummaryrefslogtreecommitdiffstats
path: root/android/help.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-07-08 11:05:31 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-07-08 11:05:31 -0700
commit45d921a6b0f4626805a3a4870834874be051f6b0 (patch)
treeaefa725712cf5985c7fe44bb6e87944bffb29fd2 /android/help.h
parent4057561d5414c89f0d9964017e9473b68643e865 (diff)
downloadexternal_qemu-45d921a6b0f4626805a3a4870834874be051f6b0.zip
external_qemu-45d921a6b0f4626805a3a4870834874be051f6b0.tar.gz
external_qemu-45d921a6b0f4626805a3a4870834874be051f6b0.tar.bz2
Removed boot-properties.h dependency from help.c
File help.c belongs to the UI, while boot-properties belong to the Core Change-Id: I526bc187740c58f89375025ca21927f5224acf19
Diffstat (limited to 'android/help.h')
-rw-r--r--android/help.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/help.h b/android/help.h
index 94feca1..ee15941 100644
--- a/android/help.h
+++ b/android/help.h
@@ -14,6 +14,14 @@
#include "android/utils/stralloc.h"
+/* these values give the maximum length of system property
+ * names and values. They must match the definitions for PROPERTY_MAX_NAME and
+ * PROPERTY_MAX_VALUE in the Android source tree
+ * (in system/core/include/cutils/properties.h)
+ */
+#define BOOT_PROPERTY_MAX_NAME 32
+#define BOOT_PROPERTY_MAX_VALUE 92
+
/* appends the list of options with a small description to a dynamic string */
extern void android_help_list_options( stralloc_t* out );