}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknS16->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknS16->pres, mBuf);
return ROK;
} /* end of cmPkTknS16 */
/* Value */
for (ndx = 0; ndx < tknStr->len; ndx++)
{
- CMCHKPK(oduUnpackUInt8, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt16, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
/* Value */
for (ndx = 0; ndx < len; ndx++)
{
- CMCHKPK(oduUnpackUInt8, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt16, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
/* Value */
for (ndx = 0; ndx < tknStr->len; ndx++)
{
- CMCHKPK(oduUnpackUInt16, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt8, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
} /* end of cmPkTknStrBMP4 */
/* Value */
for (ndx = 0; ndx < tknStr->len; ndx++)
{
- CMCHKPK(oduUnpackUInt16, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt16, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
} /* end of cmPkTknStrBMPXL */
/* Value */
for (ndx = 0; ndx < tknStr->len; ndx++)
{
- CMCHKPK(oduUnpackUInt32, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt32, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt8, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
} /* end of cmPkTknStrUNI4 */
/* Value */
for (ndx = 0; ndx < tknStr->len; ndx++)
{
- CMCHKPK(oduUnpackUInt32, tknStr->val[ndx], mBuf);
+ CMCHKPK(oduPackUInt32, tknStr->val[ndx], mBuf);
}
/* Length */
- CMCHKPK(oduUnpackUInt16, tknStr->len, mBuf);
+ CMCHKPK(oduPackUInt16, tknStr->len, mBuf);
}
/* Token Header */
- CMCHKPK(oduUnpackUInt8, tknStr->pres, mBuf);
+ CMCHKPK(oduPackUInt8, tknStr->pres, mBuf);
return ROK;
} /* end of cmPkTknStrUNIXL */
{
/* Token Header */
- CMCHKUNPK(oduPackUInt8, &tknS16->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknS16->pres, mBuf);
if (tknS16->pres)
{
{
uint16_t ndx;
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt16, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->len, mBuf);
if( cmGetMem(ptr, tknStr->len, (Ptr *)&tknStr->val) != ROK)
{
/* Value */
for (ndx = 1; ndx <= tknStr->len; ndx++)
{
- CMCHKUNPK(oduPackUInt8, &tknStr->val[tknStr->len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->val[tknStr->len - ndx], mBuf);
}
}
uint16_t len;
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt16, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->len, mBuf);
if (tknStr->len % 8)
len = (tknStr->len/8) + 1;
/* Value */
for (ndx = 1; ndx <= len; ndx++)
{
- CMCHKUNPK(oduPackUInt8, &tknStr->val[len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->val[len - ndx], mBuf);
}
}
/* Token Header */
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt8, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->len, mBuf);
/* Value */
for (ndx = 1; ndx <= tknStr->len; ndx++)
{
- CMCHKUNPK(oduPackUInt16, &tknStr->val[tknStr->len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->val[tknStr->len - ndx], mBuf);
}
}
uint16_t ndx;
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt16, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->len, mBuf);
/* Each BMP Character is 2 octet long */
if( cmGetMem(ptr, 2*(tknStr->len), (Ptr *)&tknStr->val) != ROK)
/* Value */
for (ndx = 1; ndx <= tknStr->len; ndx++)
{
- CMCHKUNPK(oduPackUInt16, &tknStr->val[tknStr->len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->val[tknStr->len - ndx], mBuf);
}
}
/* Token Header */
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt8, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->len, mBuf);
/* Value */
for (ndx = 1; ndx <= tknStr->len; ndx++)
{
- CMCHKUNPK(oduPackUInt32, &tknStr->val[tknStr->len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt32, &tknStr->val[tknStr->len - ndx], mBuf);
}
}
uint16_t ndx;
- CMCHKUNPK(oduPackUInt8, &tknStr->pres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, &tknStr->pres, mBuf);
if(tknStr->pres)
{
/* Length */
- CMCHKUNPK(oduPackUInt16, &tknStr->len, mBuf);
+ CMCHKUNPK(oduUnpackUInt16, &tknStr->len, mBuf);
/* Each UNI Character is 4 octets long */
if( cmGetMem(ptr, 4*tknStr->len, (Ptr *)&tknStr->val) != ROK)
/* Value */
for (ndx = 1; ndx <= tknStr->len; ndx++)
{
- CMCHKUNPK(oduPackUInt32, &tknStr->val[tknStr->len - ndx], mBuf);
+ CMCHKUNPK(oduUnpackUInt32, &tknStr->val[tknStr->len - ndx], mBuf);
}
}