\f
/*
*
-* Fun: oduUnpackUInt8
+* Fun: oduPackUInt8
*
* Desc: This function packs an unsigned 8 bit value into a message.
*
*
*/
-S16 oduUnpackUInt8
+S16 oduPackUInt8
(
uint8_t val, /* value */
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS243, (ErrVal)ret, "SAddPreMsg() failed");
#endif
return (ret);
-} /* end of oduUnpackUInt8 */
+} /* end of oduPackUInt8 */
\f
/*
*
\f
/*
*
-* Fun: oduUnpackUInt16
+* Fun: oduPackUInt16
*
* Desc: This function packs an unsigned 16 bit value into a message.
*
*
*/
-S16 oduUnpackUInt16
+S16 oduPackUInt16
(
uint16_t val, /* value */
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS245, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
-} /* end of oduUnpackUInt16 */
+} /* end of oduPackUInt16 */
\f
/*
\f
/*
*
-* Fun: oduUnpackUInt32
+* Fun: oduPackUInt32
*
* Desc: This function packs an unsigned 32 bit value into a message.
*
*
*/
-S16 oduUnpackUInt32
+S16 oduPackUInt32
(
uint32_t val, /* value */
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS247, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
-} /* end of oduUnpackUInt32 */
+} /* end of oduPackUInt32 */
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT
\f
/*
*
-* Fun: oduPackUInt8
+* Fun: oduUnpackUInt8
*
* Desc: This function unpacks an unsigned 8 bit value from a message.
*
*
*/
-S16 oduPackUInt8
+S16 oduUnpackUInt8
(
uint8_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS252, ERRZERO, "oduPackUInt8 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS252, ERRZERO, "oduUnpackUInt8 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
#endif
*val = (uint8_t) tmp;
return (ret);
-} /* end of oduPackUInt8 */
+} /* end of oduUnpackUInt8 */
\f
/*
*
\f
/*
*
-* Fun: oduPackUInt16
+* Fun: oduUnpackUInt16
*
* Desc: This function unpacks an unsigned 16 bit value from a message.
*
*
*/
-S16 oduPackUInt16
+S16 oduUnpackUInt16
(
uint16_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS256, ERRZERO, "oduPackUInt16 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS256, ERRZERO, "oduUnpackUInt16 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
#endif
*val = tmp16;
return (ret);
-} /* end of oduPackUInt16 */
+} /* end of oduUnpackUInt16 */
\f
/*
\f
/*
*
-* Fun: oduPackUInt32
+* Fun: oduUnpackUInt32
*
* Desc: This function unpacks an unsigned 32 bit value from a message.
*
*
*/
-S16 oduPackUInt32
+S16 oduUnpackUInt32
(
uint32_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS260, ERRZERO, "oduPackUInt32 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS260, ERRZERO, "oduUnpackUInt32 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
#endif
*val = tmp32;
return (ret);
-} /* end of oduPackUInt32 */
+} /* end of oduUnpackUInt32 */
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT