Update preset.
[bertos.git] / bertos / mware / parser.h
index a3575546dfeba589529428ff49c0034bdcc5511c..ca7a7a2891f9fe627776fce6b6b85962587f54e7 100644 (file)
@@ -128,7 +128,8 @@ typedef enum
        RC_ERROR  = -1, ///< Reply with error.
        RC_OK     = 0,  ///< No reply (ignore reply arguments).
        RC_REPLY  = 1,  ///< Reply command arguments.
-       RC_SKIP   = 2   ///< Skip following commands
+       RC_SKIP   = 2,  ///< Skip following commands
+       RC_CLAMPED = 3, ///< argument values have been clamped.
 } ResultCode;
 
 typedef struct
@@ -138,7 +139,7 @@ typedef struct
 } str_parm;
 
 /** union that contains parameters passed to and from commands */
-typedef union { long l; str_parm str; } parms;
+typedef union { long l; str_parm s; } parms;
 /** pointer to commands */
 typedef ResultCode (*CmdFuncPtr)(parms args_results[]);