From d4c2577a16bb622d8e532eee61bf7cdc49b3bef4 Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Thu, 26 Jan 2012 09:15:08 +0000 Subject: [PATCH] Commit updates list of functions in 'include/ipmitool/helper.h'. Adds str2NUM() functions I've added earlier in 'lib/helper.c'. --- ipmitool/include/ipmitool/helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipmitool/include/ipmitool/helper.h b/ipmitool/include/ipmitool/helper.h index ed9cb07..1949101 100644 --- a/ipmitool/include/ipmitool/helper.h +++ b/ipmitool/include/ipmitool/helper.h @@ -68,7 +68,9 @@ const char * oemval2str(uint32_t oem,uint16_t val, const struct oemvalstr * vs); int str2long(const char * str, int64_t * lng_ptr); int str2ulong(const char * str, uint64_t * ulng_ptr); int str2int(const char * str, int32_t * int_ptr); +int str2uint(const char * str, uint32_t * uint_ptr) int str2short(const char * str, int16_t * shrt_ptr); +int str2ushort(const char * str, uint16_t * ushrt_ptr) int str2uchar(const char * str, uint8_t * uchr_ptr); uint16_t str2val(const char * str, const struct valstr * vs);