*
*/
#ifdef ANSI
-PUBLIC S16 ssStrmCfg
+S16 ssStrmCfg
(
Region mdRegId, /* region for message and data blocks */
Region datRegId /* region for data buffers */
)
#else
-PUBLIC S16 ssStrmCfg(mdRegId, datRegId)
+S16 ssStrmCfg(mdRegId, datRegId)
Region mdRegId; /* region for message and data blocks */
Region datRegId; /* region for data buffers */
#endif
{
- TRC1(ssStrmCfg);
-
strmCfg.mdRegion = mdRegId;
strmCfg.datRegion = datRegId;
*
*/
#ifdef ANSI
-PUBLIC S32 ssAdjMsg
+S32 ssAdjMsg
(
SsMblk *mp, /* message */
S32 len /* bytes to remove */
)
#else
-PUBLIC S32 ssAdjMsg(mp, len)
+S32 ssAdjMsg(mp, len)
SsMblk *mp; /* message */
S32 len; /* bytes to remove */
#endif
SsMblk *bp; /* mblk for iteration */
SsMblk *first; /* first mblk to be adjusted */
-
- TRC1(ssAdjMsg);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssAllocB
+SsMblk *ssAllocB
(
S32 size, /* required size */
U32 pri /* message priority */
)
#else
-PUBLIC SsMblk *ssAllocB(size, pri)
+SsMblk *ssAllocB(size, pri)
S32 size; /* required size */
U32 pri; /* message priority */
#endif
char* file = __FILE__;
U32 line = __LINE__;
#endif
- TRC1(ssAllocB);
-
UNUSED(pri);
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssCopyB
+SsMblk *ssCopyB
(
SsMblk *mp /* message block */
)
#else
-PUBLIC SsMblk *ssCopyB(mp)
+SsMblk *ssCopyB(mp)
SsMblk *mp; /* message block */
#endif
{
U32 size; /* size of data content */
- TRC1(ssCopyB);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssCopyMsg
+SsMblk *ssCopyMsg
(
SsMblk *mp /* message block */
)
#else
-PUBLIC SsMblk *ssCopyMsg(mp)
+SsMblk *ssCopyMsg(mp)
SsMblk *mp; /* message block */
#endif
{
SsMblk *first; /* first mblk in message */
SsMblk *bp; /* mblk for iteration */
-
- TRC1(ssCopyMsg);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssDupB
+SsMblk *ssDupB
(
SsMblk *mp /* message block */
)
#else
-PUBLIC SsMblk *ssDupB(mp)
+SsMblk *ssDupB(mp)
SsMblk *mp; /* message block */
#endif
{
SsMblk *bp; /* mblk for iteration */
/* ss028.103 - Addition of lock for mBuf reference count */
- TRC1(ssDupB);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssDupMsg
+SsMblk *ssDupMsg
(
SsMblk *mp /* message block */
)
#else
-PUBLIC SsMblk *ssDupMsg(mp)
+SsMblk *ssDupMsg(mp)
SsMblk *mp; /* message block */
#endif
{
SsMblk *first; /* first mblk in message */
SsMblk *bp; /* mblk for iteration */
-
- TRC1(ssDupMsg);
-
-
/* dup the first mblock */
first = bp = ssDupB(mp);
if (bp == NULLP)
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssESBAlloc
+SsMblk *ssESBAlloc
(
U8 *base, /* client supplied data buffer */
S32 size, /* size of data buffer */
SsFrtn *fr_rtn /* free routine */
)
#else
-PUBLIC SsMblk *ssESBAlloc(base, size, pri, fr_rtn)
+SsMblk *ssESBAlloc(base, size, pri, fr_rtn)
U8 *base; /* client supplied data buffer */
S32 size; /* size of data buffer */
S32 pri; /* message priority */
Size m; /* mblk + dblk */
S16 r; /* return value */
-
- TRC1(ssESBAlloc);
-
-
UNUSED(pri);
*
*/
#ifdef ANSI
-PUBLIC Void ssFreeB
+Void ssFreeB
(
SsMblk *mp /* message block */
)
#else
-PUBLIC Void ssFreeB(mp)
+Void ssFreeB(mp)
SsMblk *mp; /* message block */
#endif
{
U32 line = __LINE__;
#endif
- TRC1(ssFreeB);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC Void ssFreeMsg
+Void ssFreeMsg
(
SsMblk *mp /* message block */
)
#else
-PUBLIC Void ssFreeMsg(mp)
+Void ssFreeMsg(mp)
SsMblk *mp; /* message block */
#endif
{
SsMblk *bp; /* mblk for iteration */
-
- TRC1(ssFreeMsg);
-
-
/* free all the message blocks in the message */
while (mp)
{
*
*/
#ifdef ANSI
-PUBLIC Void ssLinkB
+Void ssLinkB
(
SsMblk *mp, /* first message block */
SsMblk *bp /* second message block */
)
#else
-PUBLIC Void ssLinkB(mp, bp)
+Void ssLinkB(mp, bp)
SsMblk *mp; /* first message block */
SsMblk *bp; /* second message block */
#endif
{
- TRC1(ssLinkB);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP || bp == NULLP)
*
*/
#ifdef ANSI
-PUBLIC S32 ssMsgDSize
+S32 ssMsgDSize
(
SsMblk *mp /* message block */
)
#else
-PUBLIC S32 ssMsgDSize(mp)
+S32 ssMsgDSize(mp)
SsMblk *mp; /* message block */
#endif
{
S32 n; /* temporary */
S32 size; /* size of data */
-
- TRC1(ssMsgDSize);
-
-
/* for all blocks that are of type data, count the bytes */
size = 0;
while (mp)
*
*/
#ifdef ANSI
-PUBLIC S32 ssPullupMsg
+S32 ssPullupMsg
(
SsMblk *mp, /* message block */
S32 len /* number of bytes to align */
)
#else
-PUBLIC S32 ssPullupMsg(mp, len)
+S32 ssPullupMsg(mp, len)
SsMblk *mp; /* message block */
S32 len; /* number of bytes to align */
#endif
S32 n; /* temporary */
U8 type; /* message type */
-
- TRC1(ssPullupMsg);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssRmvB
+SsMblk *ssRmvB
(
SsMblk *mp, /* message */
SsMblk *bp /* message block */
)
#else
-PUBLIC SsMblk *ssRmvB(mp, bp)
+SsMblk *ssRmvB(mp, bp)
SsMblk *mp; /* message */
SsMblk *bp; /* message block */
#endif
{
SsMblk *rp; /* mblk that will be returned */
-
- TRC1(ssRmvB);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP || bp == NULLP)
{
*
*/
#ifdef ANSI
-PUBLIC S32 ssTestB
+S32 ssTestB
(
S32 size, /* size required */
U32 pri /* priority of the message buffer */
)
#else
-PUBLIC S32 ssTestB(size, pri)
+S32 ssTestB(size, pri)
S32 size; /* size required */
U32 pri; /* priority of the message buffer */
#endif
{
SsMblk *bp; /* mblk for iteration */
-
- TRC1(ssTestB);
-
-
bp = ssAllocB(size, pri);
if (bp)
{
*
*/
#ifdef ANSI
-PUBLIC SsMblk *ssUnlinkB
+SsMblk *ssUnlinkB
(
SsMblk *mp /* message */
)
#else
-PUBLIC SsMblk *ssUnlinkB(mp)
+SsMblk *ssUnlinkB(mp)
SsMblk *mp; /* message */
#endif
{
SsMblk *bp; /* mblk for iteration */
-
- TRC1(ssUnlinkB);
-
-
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mp == NULLP)
{