| commit | a3d70a3d2b5c052db039d097aaffa42008da24b5 | [log] [tgz] |
|---|---|---|
| author | J. Richard Barnette <[email protected]> | Wed Oct 30 18:36:45 2013 |
| committer | chrome-internal-fetch <[email protected]> | Thu Oct 31 21:56:58 2013 |
| tree | 40263855d5eef64cea1c729e89397d0f4cef4880 | |
| parent | fe2c1a231e3893dc3d7ac314e11b04a18c6948e7 [diff] |
Make crossystem.h more polite and more useful. This adds a VB_MAX_STRING_PROPERTY for callers that don't want to guess at how big to make their buffers. Additionally, it changes the size parameter to VbGetPropertyString() from int to size_t. BUG=None TEST=compile the code BRANCH=none Change-Id: I22809d48e13b535593cb22a56444e2dcb27791a5 Reviewed-on: https://chromium-review.googlesource.com/175039 Reviewed-by: Randall Spangler <[email protected]> Tested-by: Richard Barnette <[email protected]> Reviewed-by: Bill Richardson <[email protected]> Commit-Queue: Richard Barnette <[email protected]>