Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[ Jira id - ODUHIGH-593 ] Pack and unpack function nomenclature correction
[o-du/l2.git]
/
src
/
mt
/
ss_pack.c
diff --git
a/src/mt/ss_pack.c
b/src/mt/ss_pack.c
index
2f9635a
..
d02f690
100644
(file)
--- a/
src/mt/ss_pack.c
+++ b/
src/mt/ss_pack.c
@@
-107,7
+107,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
Unp
ackUInt8
+* Fun: odu
P
ackUInt8
*
* Desc: This function packs an unsigned 8 bit value into a message.
*
*
* Desc: This function packs an unsigned 8 bit value into a message.
*
@@
-121,7
+121,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
Unp
ackUInt8
+S16 odu
P
ackUInt8
(
uint8_t val, /* value */
Buffer *mBuf /* message buffer */
(
uint8_t val, /* value */
Buffer *mBuf /* message buffer */
@@
-134,7
+134,7
@@
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS243, (ErrVal)ret, "SAddPreMsg() failed");
#endif
return (ret);
SSLOGERROR(ERRCLS_ADD_RES, ESS243, (ErrVal)ret, "SAddPreMsg() failed");
#endif
return (ret);
-} /* end of odu
Unp
ackUInt8 */
+} /* end of odu
P
ackUInt8 */
\f
/*
*
\f
/*
*
@@
-179,7
+179,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
Unp
ackUInt16
+* Fun: odu
P
ackUInt16
*
* Desc: This function packs an unsigned 16 bit value into a message.
*
*
* Desc: This function packs an unsigned 16 bit value into a message.
*
@@
-193,7
+193,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
Unp
ackUInt16
+S16 odu
P
ackUInt16
(
uint16_t val, /* value */
Buffer *mBuf /* message buffer */
(
uint16_t val, /* value */
Buffer *mBuf /* message buffer */
@@
-215,7
+215,7
@@
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS245, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
SSLOGERROR(ERRCLS_ADD_RES, ESS245, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
-} /* end of odu
Unp
ackUInt16 */
+} /* end of odu
P
ackUInt16 */
\f
/*
\f
/*
@@
-270,7
+270,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
Unp
ackUInt32
+* Fun: odu
P
ackUInt32
*
* Desc: This function packs an unsigned 32 bit value into a message.
*
*
* Desc: This function packs an unsigned 32 bit value into a message.
*
@@
-284,7
+284,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
Unp
ackUInt32
+S16 odu
P
ackUInt32
(
uint32_t val, /* value */
Buffer *mBuf /* message buffer */
(
uint32_t val, /* value */
Buffer *mBuf /* message buffer */
@@
-315,7
+315,7
@@
Buffer *mBuf /* message buffer */
SSLOGERROR(ERRCLS_ADD_RES, ESS247, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
SSLOGERROR(ERRCLS_ADD_RES, ESS247, (ErrVal)ret, "SAddPreMsgMult() failed");
#endif
return (ret);
-} /* end of odu
Unp
ackUInt32 */
+} /* end of odu
P
ackUInt32 */
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT
@@
-469,7
+469,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
P
ackUInt8
+* Fun: odu
Unp
ackUInt8
*
* Desc: This function unpacks an unsigned 8 bit value from a message.
*
*
* Desc: This function unpacks an unsigned 8 bit value from a message.
*
@@
-481,7
+481,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
P
ackUInt8
+S16 odu
Unp
ackUInt8
(
uint8_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
(
uint8_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
@@
-495,7
+495,7
@@
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS252, ERRZERO, "odu
P
ackUInt8 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS252, ERRZERO, "odu
Unp
ackUInt8 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
@@
-507,7
+507,7
@@
Buffer *mBuf /* message buffer */
#endif
*val = (uint8_t) tmp;
return (ret);
#endif
*val = (uint8_t) tmp;
return (ret);
-} /* end of odu
P
ackUInt8 */
+} /* end of odu
Unp
ackUInt8 */
\f
/*
*
\f
/*
*
@@
-563,7
+563,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
P
ackUInt16
+* Fun: odu
Unp
ackUInt16
*
* Desc: This function unpacks an unsigned 16 bit value from a message.
*
*
* Desc: This function unpacks an unsigned 16 bit value from a message.
*
@@
-575,7
+575,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
P
ackUInt16
+S16 odu
Unp
ackUInt16
(
uint16_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
(
uint16_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
@@
-590,7
+590,7
@@
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS256, ERRZERO, "odu
P
ackUInt16 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS256, ERRZERO, "odu
Unp
ackUInt16 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
@@
-610,7
+610,7
@@
Buffer *mBuf /* message buffer */
#endif
*val = tmp16;
return (ret);
#endif
*val = tmp16;
return (ret);
-} /* end of odu
P
ackUInt16 */
+} /* end of odu
Unp
ackUInt16 */
\f
/*
\f
/*
@@
-677,7
+677,7
@@
Buffer *mBuf /* message buffer */
\f
/*
*
\f
/*
*
-* Fun: odu
P
ackUInt32
+* Fun: odu
Unp
ackUInt32
*
* Desc: This function unpacks an unsigned 32 bit value from a message.
*
*
* Desc: This function unpacks an unsigned 32 bit value from a message.
*
@@
-689,7
+689,7
@@
Buffer *mBuf /* message buffer */
*
*/
*
*/
-S16 odu
P
ackUInt32
+S16 odu
Unp
ackUInt32
(
uint32_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
(
uint32_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
@@
-707,7
+707,7
@@
Buffer *mBuf /* message buffer */
/* check data pointer */
if (!val)
{
/* check data pointer */
if (!val)
{
- SSLOGERROR(ERRCLS_INT_PAR, ESS260, ERRZERO, "odu
P
ackUInt32 : Null value");
+ SSLOGERROR(ERRCLS_INT_PAR, ESS260, ERRZERO, "odu
Unp
ackUInt32 : Null value");
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
return RFAILED;
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
@@
-737,7
+737,7
@@
Buffer *mBuf /* message buffer */
#endif
*val = tmp32;
return (ret);
#endif
*val = tmp32;
return (ret);
-} /* end of odu
P
ackUInt32 */
+} /* end of odu
Unp
ackUInt32 */
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT
/*ss038.103 1. Added Floating point support*/
#ifdef SS_FLOAT