Add size type to module parameters
The type represents byte sizes used for configuring buffers and file sizes. The supported suffixes for binary units are k, m, g and t in both upper and lower case.
This commit is contained in:
@ -72,6 +72,7 @@ enum mxs_module_param_type
|
||||
{
|
||||
MXS_MODULE_PARAM_COUNT, /**< Non-negative number */
|
||||
MXS_MODULE_PARAM_INT, /**< Integer number */
|
||||
MXS_MODULE_PARAM_SIZE, /**< Size in bytes */
|
||||
MXS_MODULE_PARAM_BOOL, /**< Boolean value */
|
||||
MXS_MODULE_PARAM_STRING, /**< String value */
|
||||
MXS_MODULE_PARAM_ENUM, /**< Enumeration of string values */
|
||||
|
||||
Reference in New Issue
Block a user