openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/obj.c
static rsRetVal objDeserializeEmbedStr(cstr_t** ppStr, strm_t* pStrm)
{
    DEFiRet;
    uchar c;
    cstr_t* pStr = NULL;

    assert(ppStr != NULL);

    CHKiRet(cstrConstruct(&pStr));

    NEXTC;
    while (c != ':')
    {
        CHKiRet(cstrAppendChar(pStr, c));
        NEXTC;
    }
    cstrFinalize(pStr);

    *ppStr = pStr;

finalize_it:
    if (iRet != RS_RET_OK && pStr != NULL)
        cstrDestruct(&pStr);

    RETiRet;
}
/* de-serialize an embedded, non-octect-counted string. This is useful
 * for deserializing the object name inside the header. The string is
 * terminated by the first occurence of the ':' character.
 * rgerhards, 2008-02-29
 */
de-serialize an embedded, non-octect-counted string. This is useful
for deserializing the object name inside the header. The string is
terminated by the first occurence of the ':' character.
de - serialize an embedded non - octect - counted string . This is useful for deserializing the object name inside the header . The string is terminated by the first occurence of the ' : ' character .
static rsRetVal objDeserializeEmbedStr(cstr_t** ppStr, strm_t* pStrm)
{
    DEFiRet;
    uchar c;
    cstr_t* pStr = NULL;
    assert(ppStr != NULL);
    CHKiRet(cstrConstruct(&pStr));
    NEXTC;
    while (c != ':')
    {
        CHKiRet(cstrAppendChar(pStr, c));
        NEXTC;
    }
    cstrFinalize(pStr);
    *ppStr = pStr;
finalize_it:
    if (iRet != RS_RET_OK && pStr != NULL)
        cstrDestruct(&pStr);
    RETiRet;
}
static rsRetVal objDeserializeEmbedStr ( cstr_t * * ppStr , strm_t * pStrm ) { DEFiRet ; uchar c ; cstr_t * pStr = NULL ; assert ( ppStr != NULL ) ; CHKiRet ( cstrConstruct ( & pStr ) ) ; NEXTC ; while ( c != ' ' ) { CHKiRet ( cstrAppendChar ( pStr , c ) ) ; NEXTC ; } cstrFinalize ( pStr ) ; * ppStr = pStr ; finalize_it : if ( iRet != RS_RET_OK && pStr != NULL ) cstrDestruct ( & pStr ) ; RETiRet ; }
de-serialize an embedded, non-octect-counted string.
de - serialize an embedded non - octect - counted string .